浏览代码

* fixed some more warnings

Nikolay Nikolov 3 年之前
父节点
当前提交
dc9090e67f
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      compiler/wasm32/nwasmflw.pas

+ 8 - 0
compiler/wasm32/nwasmflw.pas

@@ -458,6 +458,8 @@ implementation
         oldContinueLabel:=nil;
         oldContinueLabel:=nil;
         oldBreakLabel:=nil;
         oldBreakLabel:=nil;
         oldExitBr:=0;
         oldExitBr:=0;
+        NewContinueLabel:=nil;
+        NewBreakLabel:=nil;
         location_reset(location,LOC_VOID,OS_NO);
         location_reset(location,LOC_VOID,OS_NO);
         doobjectdestroyandreraisestate:=Default(tcgexceptionstatehandler.texceptionstate);
         doobjectdestroyandreraisestate:=Default(tcgexceptionstatehandler.texceptionstate);
 
 
@@ -648,6 +650,8 @@ implementation
         oldBreakLabel:=nil;
         oldBreakLabel:=nil;
         oldExitBr:=0;
         oldExitBr:=0;
         oldRaiseBr:=0;
         oldRaiseBr:=0;
+        NewContinueLabel:=nil;
+        NewBreakLabel:=nil;
         location_reset(location,LOC_VOID,OS_NO);
         location_reset(location,LOC_VOID,OS_NO);
         doobjectdestroyandreraisestate:=Default(tcgexceptionstatehandler.texceptionstate);
         doobjectdestroyandreraisestate:=Default(tcgexceptionstatehandler.texceptionstate);
 
 
@@ -1524,6 +1528,8 @@ implementation
         oldContinueLabel:=nil;
         oldContinueLabel:=nil;
         oldBreakLabel:=nil;
         oldBreakLabel:=nil;
         oldExitBr:=0;
         oldExitBr:=0;
+        NewBreakLabel:=nil;
+        NewContinueLabel:=nil;
         location_reset(location,LOC_VOID,OS_NO);
         location_reset(location,LOC_VOID,OS_NO);
 
 
         { Exception temps? We don't need no stinking exception temps! :) }
         { Exception temps? We don't need no stinking exception temps! :) }
@@ -1677,6 +1683,8 @@ implementation
         oldBreakLabel:=nil;
         oldBreakLabel:=nil;
         oldExitBr:=0;
         oldExitBr:=0;
         oldRaiseBr:=0;
         oldRaiseBr:=0;
+        NewBreakLabel:=nil;
+        NewContinueLabel:=nil;
         location_reset(location,LOC_VOID,OS_NO);
         location_reset(location,LOC_VOID,OS_NO);
 
 
         { Exception temps? We don't need no stinking exception temps! :) }
         { Exception temps? We don't need no stinking exception temps! :) }