diff --git a/lib/VMCore/DataLayout.cpp b/lib/VMCore/DataLayout.cpp index 540f4de2f61..b39aa271f3a 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; }