mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0 fixed tests related to clear with options change
This commit is contained in:
parent
60468b0fe2
commit
14a1164f4a
1 changed files with 4 additions and 4 deletions
|
@ -77,10 +77,10 @@ public class ClearCmd extends BackgroundCommand<Program> {
|
|||
this.options = options;
|
||||
this.sendIndividualEvents = sendIndividualEvents;
|
||||
|
||||
if (options == null) {
|
||||
options = new ClearOptions(false);
|
||||
options.setShouldClear(INSTRUCTIONS, true);
|
||||
options.setShouldClear(DATA, true);
|
||||
if (this.options == null) {
|
||||
this.options = new ClearOptions(false);
|
||||
this.options.setShouldClear(INSTRUCTIONS, true);
|
||||
this.options.setShouldClear(DATA, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue