diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-02-26 21:08:21 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-02-26 21:08:21 +0000 |
commit | 542a45435f43fd92091742d8089be7f9e070bcd8 (patch) | |
tree | bc1258baaf4ae812166b64c4ffc01bb3e039752c /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 1aecd5b8d95bd4d2cd5d50580126e1768a3c5848 (diff) | |
download | bcm5719-llvm-542a45435f43fd92091742d8089be7f9e070bcd8.tar.gz bcm5719-llvm-542a45435f43fd92091742d8089be7f9e070bcd8.zip |
Silence some Win64 clang-cl warnings about unused stuff due to ifdefs
llvm-svn: 230685
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
-rw-r--r-- | llvm/unittests/Support/CommandLineTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/Support/CommandLineTest.cpp b/llvm/unittests/Support/CommandLineTest.cpp index 0b076e3009b..9d7679da511 100644 --- a/llvm/unittests/Support/CommandLineTest.cpp +++ b/llvm/unittests/Support/CommandLineTest.cpp @@ -35,6 +35,8 @@ class TempEnvVar { #if HAVE_SETENV // Assume setenv and unsetenv come together. unsetenv(name); +#else + (void)name; // Suppress -Wunused-private-field. #endif } |