FpDebug: clean up a few occasions where FContext is set twice

git-svn-id: trunk@61916 -
This commit is contained in:
martin 2019-09-24 23:36:34 +00:00
parent f37ef11330
commit 4f54cfa13b

View File

@ -1700,8 +1700,6 @@ begin
if m <> nil then
Result := m.Value;
assert((Result = nil) or (Result is TFpValueDwarfBase), 'Result is TFpValueDwarfBase');
if Result <> nil then
TFpValueDwarfBase(Result).Context := Context;
end;
SetLastMember(TFpValueDwarf(Result));
end;
@ -1716,8 +1714,6 @@ begin
if m <> nil then
Result := m.Value;
assert((Result = nil) or (Result is TFpValueDwarfBase), 'Result is TFpValueDwarfBase');
if Result <> nil then
TFpValueDwarfBase(Result).Context := Context;
end;
SetLastMember(TFpValueDwarf(Result));
end;
@ -2614,7 +2610,6 @@ begin
Result := tmp.Value;
assert(Result is TFpValueDwarfBase, 'Result is TFpValueDwarfBase');
TFpValueDwarfBase(Result).Context := Context;
end;
SetLastMember(TFpValueDwarf(Result));
end;
@ -2637,7 +2632,6 @@ begin
Result := tmp.Value;
assert(Result is TFpValueDwarfBase, 'Result is TFpValueDwarfBase');
TFpValueDwarfBase(Result).Context := Context;
end;
SetLastMember(TFpValueDwarf(Result));
end;