parent
b476cdfde5
commit
504f4783ed
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue