Set ba variable upfront to avoid warning treated as error

This commit is contained in:
Pierre Muller 2024-02-19 22:12:46 +01:00
parent a512273976
commit 728fb7c58c

View File

@ -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);