From a5f1600275c7a82972a180d1072733d55955e1e8 Mon Sep 17 00:00:00 2001 From: Nikolay Nikolov Date: Thu, 5 Oct 2023 19:12:26 +0300 Subject: [PATCH] + avoid more warnings --- compiler/wasm32/aasmcpu.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/wasm32/aasmcpu.pas b/compiler/wasm32/aasmcpu.pas index 1e87580d9c..5a5cb7d11d 100644 --- a/compiler/wasm32/aasmcpu.pas +++ b/compiler/wasm32/aasmcpu.pas @@ -448,6 +448,7 @@ uses p: tai; tmp_asmlist: TAsmList; begin + result:=nil; tmp_asmlist:=TAsmList.Create; Done:=False; @@ -468,6 +469,8 @@ uses result:=tai_wasmstruc_try_catch.internal_create(taicpu(p),tmp_asmlist,srclist); a_delegate: result:=tai_wasmstruc_try_delegate.internal_create(taicpu(p),tmp_asmlist,srclist); + else + internalerror(2023100502); end; end;