Silence -Wunused-value warning.

llvm-svn: 165059
This commit is contained in:
Ted Kremenek 2012-10-02 21:50:18 +00:00
parent 09d7710e04
commit f1245ddc78
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ int AnalyzerOptions::getOptionAsInteger(StringRef Name, int DefaultVal) {
int Res = DefaultVal; int Res = DefaultVal;
bool b = V.getAsInteger(10, Res); bool b = V.getAsInteger(10, Res);
assert(!b && "analyzer-config option should be numeric"); assert(!b && "analyzer-config option should be numeric");
(void) b;
return Res; return Res;
} }