Browse Source

* Initialize firstwaiting, after remark by Pierre

Michaël Van Canneyt 1 year ago
parent
commit
2e6c3b060d
1 changed files with 1 additions and 0 deletions
  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]);