mirror of https://gitlab.com/basile.b/dexed.git
fix dead code after func exit()
This commit is contained in:
parent
5421d3312d
commit
028161f161
|
|
@ -628,8 +628,8 @@ end;
|
||||||
|
|
||||||
function TDubBuildOptions.optionedWantContainer: TPersistent;
|
function TDubBuildOptions.optionedWantContainer: TPersistent;
|
||||||
begin
|
begin
|
||||||
exit(self);
|
|
||||||
fBackup.assign(self);
|
fBackup.assign(self);
|
||||||
|
exit(self);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TDubBuildOptions.optionedEvent(event: TOptionEditorEvent);
|
procedure TDubBuildOptions.optionedEvent(event: TOptionEditorEvent);
|
||||||
|
|
@ -852,6 +852,7 @@ function TDubProject.getCommandLine: string;
|
||||||
var
|
var
|
||||||
str: TStringList;
|
str: TStringList;
|
||||||
begin
|
begin
|
||||||
|
result := '';
|
||||||
str := TStringList.Create;
|
str := TStringList.Create;
|
||||||
try
|
try
|
||||||
str.Add('dub' + exeExt);
|
str.Add('dub' + exeExt);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue