mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 14:35:58 +02:00
DBG: Fixed warning due to unset result
git-svn-id: trunk@28615 -
This commit is contained in:
parent
5c9a47695a
commit
22e4034da0
@ -2909,6 +2909,7 @@ var
|
||||
CommandObj: TGDBMIDebuggerCommandExecute;
|
||||
begin
|
||||
Result := True;
|
||||
FSuccess := False;
|
||||
|
||||
try
|
||||
if not (DebuggerState in [dsStop])
|
||||
@ -3051,6 +3052,7 @@ begin
|
||||
if TargetInfo^.TargetPID = 0
|
||||
then begin
|
||||
Result := False;
|
||||
FSuccess := False;
|
||||
SetDebuggerState(dsError);
|
||||
Exit;
|
||||
end;
|
||||
@ -3083,6 +3085,7 @@ begin
|
||||
then FContinueCommand.Free;
|
||||
end;
|
||||
|
||||
FSuccess := True;
|
||||
end;
|
||||
|
||||
constructor TGDBMIDebuggerCommandStartDebugging.Create(AOwner: TGDBMIDebugger;
|
||||
|
Loading…
Reference in New Issue
Block a user