FpDebug: fix uninitialized return value

(cherry picked from commit 2e8783e5e0)
This commit is contained in:
Martin 2022-01-31 01:46:41 +01:00
parent 728e5108bc
commit 8c625ac0c6

View File

@ -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;