mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 10:09:25 +02:00
FpDebug: fix uninitialized return value
This commit is contained in:
parent
a54aa9c1bb
commit
2e8783e5e0
@ -970,7 +970,8 @@ end;
|
||||
|
||||
function TFpValue.GetDataSize: TFpDbgValueSize;
|
||||
begin
|
||||
GetSize(Result);
|
||||
if not GetSize(Result) then
|
||||
Result := ZeroSize;
|
||||
end;
|
||||
|
||||
function TFpValue.GetSize(out ASize: TFpDbgValueSize): Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user