瀏覽代碼

* fixed warning

Nikolay Nikolov 1 年之前
父節點
當前提交
18c6e13f45
共有 1 個文件被更改,包括 2 次插入3 次删除
  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