mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-22 19:49:48 +01:00
Project: fix an undefined return value
git-svn-id: trunk@39244 -
This commit is contained in:
parent
47e02aded0
commit
e37f37dd77
@ -6944,7 +6944,9 @@ end;
|
|||||||
function TProjectBuildMode.LazProject: TProject;
|
function TProjectBuildMode.LazProject: TProject;
|
||||||
begin
|
begin
|
||||||
if Owner is TProjectBuildModes then
|
if Owner is TProjectBuildModes then
|
||||||
Result:=TProjectBuildModes(Owner).LazProject;
|
Result:=TProjectBuildModes(Owner).LazProject
|
||||||
|
else
|
||||||
|
Result:=Nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TProjectBuildMode.Clear;
|
procedure TProjectBuildMode.Clear;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user