aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-10-02 21:50:18 +0000
committerTed Kremenek <kremenek@apple.com>2012-10-02 21:50:18 +0000
commit86e7b7e4421eacdd5ae610a0fb2d8ea5dec5e644 (patch)
tree71799b383b5cc306d53f7bdea67286f5185b8084 /lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
parent3329ad1dc678d0f659f5ab4f122af824477ca788 (diff)
Silence -Wunused-value warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/AnalyzerOptions.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/AnalyzerOptions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp b/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
index 2b957c419a..e2b7cfc521 100644
--- a/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
+++ b/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
@@ -111,6 +111,7 @@ int AnalyzerOptions::getOptionAsInteger(StringRef Name, int DefaultVal) {
int Res = DefaultVal;
bool b = V.getAsInteger(10, Res);
assert(!b && "analyzer-config option should be numeric");
+ (void) b;
return Res;
}