mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 15:09:28 +02:00
FpDebug: fix uninitialized return value
(cherry picked from commit 2e8783e5e0
)
This commit is contained in:
parent
728e5108bc
commit
8c625ac0c6
@ -965,7 +965,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