FpDebug: fix compilation with -dWITH_REFCOUNT_DEBUG

git-svn-id: trunk@64887 -
This commit is contained in:
martin 2021-03-28 20:26:23 +00:00
parent 57e759e6ee
commit e75dd9a3a6

View File

@ -2711,7 +2711,7 @@ begin
skCardinal: Result := tmp1;
skFloat: Result := tmp1;
end;
Result.AddReference{$IFDEF WITH_REFCOUNT_DEBUG}(@FValue, 'DoGetResultValue'){$ENDIF};
Result.AddReference{$IFDEF WITH_REFCOUNT_DEBUG}(nil, 'DoGetResultValue'){$ENDIF};
end
else begin
case tmp1.Kind of