mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:09:41 +02:00
FpDebug: clean up a few occasions where FContext is set twice
git-svn-id: trunk@61916 -
This commit is contained in:
parent
f37ef11330
commit
4f54cfa13b
@ -1700,8 +1700,6 @@ begin
|
|||||||
if m <> nil then
|
if m <> nil then
|
||||||
Result := m.Value;
|
Result := m.Value;
|
||||||
assert((Result = nil) or (Result is TFpValueDwarfBase), 'Result is TFpValueDwarfBase');
|
assert((Result = nil) or (Result is TFpValueDwarfBase), 'Result is TFpValueDwarfBase');
|
||||||
if Result <> nil then
|
|
||||||
TFpValueDwarfBase(Result).Context := Context;
|
|
||||||
end;
|
end;
|
||||||
SetLastMember(TFpValueDwarf(Result));
|
SetLastMember(TFpValueDwarf(Result));
|
||||||
end;
|
end;
|
||||||
@ -1716,8 +1714,6 @@ begin
|
|||||||
if m <> nil then
|
if m <> nil then
|
||||||
Result := m.Value;
|
Result := m.Value;
|
||||||
assert((Result = nil) or (Result is TFpValueDwarfBase), 'Result is TFpValueDwarfBase');
|
assert((Result = nil) or (Result is TFpValueDwarfBase), 'Result is TFpValueDwarfBase');
|
||||||
if Result <> nil then
|
|
||||||
TFpValueDwarfBase(Result).Context := Context;
|
|
||||||
end;
|
end;
|
||||||
SetLastMember(TFpValueDwarf(Result));
|
SetLastMember(TFpValueDwarf(Result));
|
||||||
end;
|
end;
|
||||||
@ -2614,7 +2610,6 @@ begin
|
|||||||
|
|
||||||
Result := tmp.Value;
|
Result := tmp.Value;
|
||||||
assert(Result is TFpValueDwarfBase, 'Result is TFpValueDwarfBase');
|
assert(Result is TFpValueDwarfBase, 'Result is TFpValueDwarfBase');
|
||||||
TFpValueDwarfBase(Result).Context := Context;
|
|
||||||
end;
|
end;
|
||||||
SetLastMember(TFpValueDwarf(Result));
|
SetLastMember(TFpValueDwarf(Result));
|
||||||
end;
|
end;
|
||||||
@ -2637,7 +2632,6 @@ begin
|
|||||||
|
|
||||||
Result := tmp.Value;
|
Result := tmp.Value;
|
||||||
assert(Result is TFpValueDwarfBase, 'Result is TFpValueDwarfBase');
|
assert(Result is TFpValueDwarfBase, 'Result is TFpValueDwarfBase');
|
||||||
TFpValueDwarfBase(Result).Context := Context;
|
|
||||||
end;
|
end;
|
||||||
SetLastMember(TFpValueDwarf(Result));
|
SetLastMember(TFpValueDwarf(Result));
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user