GP-2974: Fixing warnings

This commit is contained in:
Ryan Kurtz 2023-04-26 08:03:57 -04:00
parent 113156a19f
commit 7fa3389119
662 changed files with 2198 additions and 2216 deletions

View file

@ -57,7 +57,7 @@ public class ExportProgramScript extends GhidraScript {
RelocationTable relocTable = currentProgram.getRelocationTable();
Iterator<Relocation> iter = relocTable.getRelocations();
while (iter.hasNext()) {
monitor.checkCanceled();
monitor.checkCancelled();
Relocation reloc = iter.next();
Address relocStart = reloc.getAddress();
@ -102,7 +102,7 @@ public class ExportProgramScript extends GhidraScript {
// the original
for (long i = 0; i < size; i++) {
monitor.checkCanceled();
monitor.checkCancelled();
byte originalByte = fileBytes.getOriginalByte(i);
byte currentByte = fileBytes.getModifiedByte(i);
@ -158,7 +158,7 @@ public class ExportProgramScript extends GhidraScript {
}
for (Address address : list) {
monitor.checkCanceled();
monitor.checkCancelled();
if (set.contains(address)) {
return true;
}