Removed unsigned comparison to zero (CID: 611234)
This commit is contained in:
parent
249a4944c3
commit
f78b08d846
@ -712,7 +712,7 @@ DwarfFile::ResolveRangeList(CompilationUnit* unit, uint64 offset) const
|
|||||||
if (unit == NULL || fDebugRangesSection == NULL)
|
if (unit == NULL || fDebugRangesSection == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (offset < 0 || offset >= (uint64)fDebugRangesSection->Size())
|
if (offset >= (uint64)fDebugRangesSection->Size())
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
TargetAddressRangeList* ranges = new(std::nothrow) TargetAddressRangeList;
|
TargetAddressRangeList* ranges = new(std::nothrow) TargetAddressRangeList;
|
||||||
|
Loading…
Reference in New Issue
Block a user