mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:09:25 +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;
|
function tmodule.nowaitingforunits(out firstwaiting : tmodule): Boolean;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
firstwaiting:=nil;
|
||||||
Result:=waitingforunit.count=0;
|
Result:=waitingforunit.count=0;
|
||||||
If not Result then
|
If not Result then
|
||||||
firstwaiting:=tmodule(waitingforunit[0]);
|
firstwaiting:=tmodule(waitingforunit[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user