mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
bugfixes from regression test
This commit is contained in:
parent
60e48ee1c3
commit
d4e7c04809
2 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ bool ConsistencyChecker::checkOpMisuse(OpTpl *op,Constructor *ct)
|
|||
{
|
||||
VarnodeTpl *vn = op->getIn(1);
|
||||
if (vn->getSpace().isConstSpace() && vn->getOffset().isZero()) {
|
||||
compiler->reportError(compiler->getLocation(ct), "Unsigned comparison with zero is always false");
|
||||
compiler->reportWarning(compiler->getLocation(ct), "Unsigned comparison with zero is always false");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue