mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
Fix warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -184,7 +184,7 @@ static unsigned getInt(StringRef R) {
|
|||||||
if (R.empty())
|
if (R.empty())
|
||||||
return 0;
|
return 0;
|
||||||
unsigned Result;
|
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");
|
assert(!error && "not a number, or does not fit in an unsigned int");
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user