mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 05:59:28 +02:00
FpDebug: Clean up, error will be set already
git-svn-id: trunk@61801 -
This commit is contained in:
parent
14ef5eb9fc
commit
5408d59907
@ -3182,10 +3182,8 @@ begin
|
||||
Assert(self is TFpSymbolDwarfType);
|
||||
Result := False;
|
||||
if InformationEntry.GetAttribData(DW_AT_allocated, AttrData) then begin
|
||||
if not ConstRefOrExprFromAttrData(AttrData, AValueObj, t) then begin
|
||||
SetLastError(CreateError(fpErrAnyError));
|
||||
if not ConstRefOrExprFromAttrData(AttrData, AValueObj, t) then
|
||||
exit;
|
||||
end;
|
||||
if t = 0 then begin
|
||||
AnAddress := NilLoc;
|
||||
exit(True);
|
||||
@ -3193,10 +3191,8 @@ Assert(self is TFpSymbolDwarfType);
|
||||
end;
|
||||
|
||||
if InformationEntry.GetAttribData(DW_AT_associated, AttrData) then begin
|
||||
if not ConstRefOrExprFromAttrData(AttrData, AValueObj, t) then begin
|
||||
SetLastError(CreateError(fpErrAnyError));
|
||||
if not ConstRefOrExprFromAttrData(AttrData, AValueObj, t) then
|
||||
exit;
|
||||
end;
|
||||
if t = 0 then begin
|
||||
AnAddress := NilLoc;
|
||||
exit(True);
|
||||
|
Loading…
Reference in New Issue
Block a user