Silence some Win64 clang-cl warnings about unused stuff due to ifdefs
[oota-llvm.git] / unittests / Support / CommandLineTest.cpp
index 0b076e3009bc5fc8ffbb6f30eb1c055d7c56ed50..9d7679da511c5b2addd7062f2618a8ba229e9a9f 100644 (file)
@@ -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
   }