mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-08 04:44:20 +00:00
remove GC_ref
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user