mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 15:47:53 +02:00
Remove unneeded, and possibly wrong typecast to fix cycle with -CR option
This commit is contained in:
parent
b693af69a6
commit
74d2d2f0d8
@ -1874,7 +1874,7 @@ type
|
||||
|
||||
procedure MarkSymbolAsUsed(sym: tsym);
|
||||
begin
|
||||
tabstractvarsym(sym).IncRefCount;
|
||||
sym.IncRefCount;
|
||||
{ do we know an owner? }
|
||||
if Assigned(current_module) and Assigned(current_module.unitmap) and Assigned(sym.owner) then
|
||||
inc(current_module.unitmap[sym.owner.moduleid].refs);
|
||||
|
Loading…
Reference in New Issue
Block a user