mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 01:48:00 +02:00
* move setup of secrec outside of the if-statement as it's the same for both cases
This commit is contained in:
parent
f5beaa80d8
commit
c2664fdfa5
@ -2551,16 +2551,14 @@ const pemagic : array[0..3] of byte = (
|
||||
begin
|
||||
FCoffSyms.Read(boauxrec,sizeof(boauxrec));
|
||||
psecrec:=pcoffsectionrec(@boauxrec[0]);
|
||||
secrec:=psecrec^;
|
||||
MaybeSwap(secrec);
|
||||
end
|
||||
else
|
||||
begin
|
||||
FCoffSyms.Read(auxrec,sizeof(auxrec));
|
||||
psecrec:=pcoffsectionrec(@auxrec);
|
||||
secrec:=psecrec^;
|
||||
MaybeSwap(secrec);
|
||||
end;
|
||||
secrec:=psecrec^;
|
||||
MaybeSwap(secrec);
|
||||
|
||||
case secrec.select of
|
||||
IMAGE_COMDAT_SELECT_NODUPLICATES:
|
||||
|
Loading…
Reference in New Issue
Block a user