Quellcode durchsuchen

* Initialize firstwaiting, after remark by Pierre

Michaël Van Canneyt vor 1 Jahr
Ursprung
Commit
2e6c3b060d
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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]);