aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/DataLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/DataLayout.cpp b/lib/VMCore/DataLayout.cpp
index 540f4de..b39aa27 100644
--- a/lib/VMCore/DataLayout.cpp
+++ b/lib/VMCore/DataLayout.cpp
@@ -184,7 +184,7 @@ static unsigned getInt(StringRef R) {
if (R.empty())
return 0;
unsigned Result;
- bool error = R.getAsInteger(10, Result);
+ bool error = R.getAsInteger(10, Result); (void)error;
assert(!error && "not a number, or does not fit in an unsigned int");
return Result;
}