mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-21 14:33:21 +08:00
GP-2974: Fixing warnings
This commit is contained in:
@@ -54,7 +54,7 @@ public class ConsistencyCheck extends GhidraScript {
|
||||
return;
|
||||
}
|
||||
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
|
||||
if (!df.canSave() || !currentProgram.hasExclusiveAccess()) {
|
||||
popup("Program database is NOT consistent!\nRebuild requires exclusive checkout.");
|
||||
@@ -72,7 +72,7 @@ public class ConsistencyCheck extends GhidraScript {
|
||||
|
||||
programMgr.closeProgram(currentProgram, true);
|
||||
|
||||
monitor.clearCanceled(); // compensate for Script Manager cancelling task on program close
|
||||
monitor.clearCancelled(); // compensate for Script Manager cancelling task on program close
|
||||
|
||||
dbh = program.getDBHandle();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user