mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-20 09:22:15 +08:00
GP-0: PR cleanup
This commit is contained in:
+2
-1
@@ -351,7 +351,7 @@ public class OmfFileHeader extends OmfRecord {
|
||||
header.groups.add(group);
|
||||
}
|
||||
else if (record instanceof OmfFixupRecord fixuprec) {
|
||||
if(lastDataBlock != null) {
|
||||
if (lastDataBlock != null) {
|
||||
fixuprec.setDataBlock(lastDataBlock);
|
||||
header.fixup.add(fixuprec);
|
||||
}
|
||||
@@ -370,6 +370,7 @@ public class OmfFileHeader extends OmfRecord {
|
||||
lastDataBlock = iterheader;
|
||||
}
|
||||
else if (record instanceof OmfUnsupportedRecord) {
|
||||
// TODO: Should we always set lastDataBlock to null?
|
||||
if (record.getRecordType() == COMDAT) {
|
||||
lastDataBlock = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user