mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 07:49:21 +02:00
* Initialize nil-pointer
git-svn-id: trunk@17612 -
This commit is contained in:
parent
e727dcc1a4
commit
0fe7c07bbb
@ -310,6 +310,7 @@ begin
|
||||
try
|
||||
MC:=Nil;
|
||||
M:=NIL;
|
||||
MI:=Nil;
|
||||
If (OnGetModule<>Nil) then
|
||||
OnGetModule(Self,ARequest,MC);
|
||||
If (MC=Nil) then
|
||||
@ -322,7 +323,7 @@ begin
|
||||
end;
|
||||
M:=FindModule(MC); // Check if a module exists already
|
||||
If (M=Nil) then
|
||||
if Mi.SkipStreaming then
|
||||
if assigned(MI) and Mi.SkipStreaming then
|
||||
M:=MC.CreateNew(Self)
|
||||
else
|
||||
M:=MC.Create(Self);
|
||||
|
Loading…
Reference in New Issue
Block a user