Browse Source

* fixed warning

Nikolay Nikolov 1 year ago
parent
commit
18c6e13f45
1 changed files with 2 additions and 3 deletions
  1. 2 3
      compiler/wasm32/aasmcpu.pas

+ 2 - 3
compiler/wasm32/aasmcpu.pas

@@ -467,9 +467,8 @@ uses
       begin
         if FValueStack.Count = FCtrlStack[0].height then
           begin
-            if FCtrlStack[0].unreachable then
-              Result:=wbt_Unknown
-            else
+            Result:=wbt_Unknown;
+            if not FCtrlStack[0].unreachable then
               internalerror(2024013104);
           end
         else