[cfe-commits] r165059 - /cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp

Ted Kremenek kremenek at apple.com
Tue Oct 2 14:50:18 PDT 2012


Author: kremenek
Date: Tue Oct  2 16:50:18 2012
New Revision: 165059

URL: http://llvm.org/viewvc/llvm-project?rev=165059&view=rev
Log:
Silence -Wunused-value warning.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp?rev=165059&r1=165058&r2=165059&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp Tue Oct  2 16:50:18 2012
@@ -111,6 +111,7 @@
   int Res = DefaultVal;
   bool b = V.getAsInteger(10, Res);
   assert(!b && "analyzer-config option should be numeric");
+  (void) b;
   return Res;
 }
 





More information about the cfe-commits mailing list