mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 17:20:30 +02:00
Set ba variable upfront to avoid warning treated as error
This commit is contained in:
parent
a512273976
commit
728fb7c58c
@ -697,6 +697,7 @@ implementation
|
||||
end;
|
||||
if target_info.endian<>source_info.endian then
|
||||
begin
|
||||
ba.q:=0;
|
||||
if (len<=sizeof(data)) then
|
||||
case len of
|
||||
1 : ba.b:=byte(data);
|
||||
@ -715,7 +716,6 @@ implementation
|
||||
else
|
||||
begin
|
||||
internalerror(2024012501);
|
||||
ba.q:=0;
|
||||
end;
|
||||
end;
|
||||
CurrObjSec.write(ba,len);
|
||||
|
Loading…
Reference in New Issue
Block a user