mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 08:09:46 +02:00
* fix warnings
This commit is contained in:
parent
ae465fa8dc
commit
e53620ebdb
@ -520,6 +520,7 @@ uses
|
||||
var
|
||||
I: Integer;
|
||||
begin
|
||||
Result:=nil;
|
||||
SetLength(Result,Length(vals));
|
||||
for I:=High(vals) downto Low(Vals) do
|
||||
Result[I]:=PopVal(vals[I]);
|
||||
@ -543,7 +544,7 @@ uses
|
||||
|
||||
function TWasmValidationStacks.PopCtrl: TWasmControlFrame;
|
||||
begin
|
||||
FillChar(Result,SizeOf(Result),0);
|
||||
Result:=Default(TWasmControlFrame);
|
||||
if FCtrlStack.Count=0 then
|
||||
internalerror(2024013106);
|
||||
Result:=FCtrlStack[0];
|
||||
|
Loading…
Reference in New Issue
Block a user