mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 15:49:26 +02:00
* Initialize firstwaiting, after remark by Pierre
This commit is contained in:
parent
76687a04e5
commit
2e6c3b060d
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user