From 86e7b7e4421eacdd5ae610a0fb2d8ea5dec5e644 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 2 Oct 2012 21:50:18 +0000 Subject: [PATCH] Silence -Wunused-value warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165059 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.40.0