projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d7710
)
Silence -Wunused-value warning.
author
Ted Kremenek
<kremenek@apple.com>
Tue, 2 Oct 2012 21:50:18 +0000
(21:50 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Tue, 2 Oct 2012 21:50:18 +0000
(21:50 +0000)
llvm-svn: 165059
clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
b/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
index
2b957c4
..
e2b7cfc
100644
(file)
--- a/
clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
+++ b/
clang/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;
}