Browse Source

* Initialize firstwaiting, after remark by Pierre

Michaël Van Canneyt 1 năm trước cách đây
mục cha
commit
2e6c3b060d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      compiler/fmodule.pas

+ 1 - 0
compiler/fmodule.pas

@@ -1072,6 +1072,7 @@ implementation
     function tmodule.nowaitingforunits(out firstwaiting : tmodule): Boolean;
 
       begin
+        firstwaiting:=nil;
         Result:=waitingforunit.count=0;
         If not Result then
           firstwaiting:=tmodule(waitingforunit[0]);