remove GC_ref

This commit is contained in:
xflywind
2022-07-11 16:13:35 +08:00
parent e686303cd3
commit 0a558ceca9

View File

@@ -827,8 +827,7 @@ proc nextIdentIter*(ti: var TIdentIter, tab: TStrTable): PSym =
break
p = tab.data[h]
if p != nil:
result = p
GC_ref(result)
result = p # increase the count
else:
result = nil
ti.h = nextTry(h, high(tab.data))