mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 16:09:30 +02:00
IDE: fixed uninitialized result
git-svn-id: trunk@35452 -
This commit is contained in:
parent
2780fd8032
commit
c0fa7b90ac
@ -3018,6 +3018,7 @@ function dbgs(AnAttributes: TDBGSymbolAttributes): String;
|
||||
var
|
||||
i: TDBGSymbolAttribute;
|
||||
begin
|
||||
Result:='';
|
||||
for i := low(TDBGSymbolAttributes) to high(TDBGSymbolAttributes) do
|
||||
if i in AnAttributes then begin
|
||||
if Result <> '' then Result := Result + ', ';
|
||||
@ -3035,6 +3036,7 @@ function dbgs(AFlags: TDebuggerLocationFlags): String;
|
||||
var
|
||||
i: TDebuggerLocationFlag;
|
||||
begin
|
||||
Result:='';
|
||||
for i := low(TDebuggerLocationFlags) to high(TDebuggerLocationFlags) do
|
||||
if i in AFlags then begin
|
||||
if Result <> '' then Result := Result + ', ';
|
||||
|
Loading…
Reference in New Issue
Block a user