fix dead code after func exit()

This commit is contained in:
Basile Burg 2019-01-18 07:32:19 +01:00
parent 5421d3312d
commit 028161f161
1 changed files with 2 additions and 1 deletions

View File

@ -628,8 +628,8 @@ end;
function TDubBuildOptions.optionedWantContainer: TPersistent;
begin
exit(self);
fBackup.assign(self);
exit(self);
end;
procedure TDubBuildOptions.optionedEvent(event: TOptionEditorEvent);
@ -852,6 +852,7 @@ function TDubProject.getCommandLine: string;
var
str: TStringList;
begin
result := '';
str := TStringList.Create;
try
str.Add('dub' + exeExt);