* Initialize firstwaiting, after remark by Pierre

This commit is contained in:
Michaël Van Canneyt 2024-03-06 21:55:47 +01:00
parent 76687a04e5
commit 2e6c3b060d

View File

@ -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]);