Remove dead code in findAll proc
This commit is contained in:
parent
71561bef58
commit
ae3fc71462
1 changed files with 1 additions and 2 deletions
|
|
@ -337,7 +337,6 @@ proc findAll*(n: XmlNode, tag: string, result: var seq[XmlNode]) =
|
||||||
continue
|
continue
|
||||||
if child.tag == tag:
|
if child.tag == tag:
|
||||||
result.add(child)
|
result.add(child)
|
||||||
elif child.k == xnElement:
|
|
||||||
child.findAll(tag, result)
|
child.findAll(tag, result)
|
||||||
|
|
||||||
proc findAll*(n: XmlNode, tag: string): seq[XmlNode] =
|
proc findAll*(n: XmlNode, tag: string): seq[XmlNode] =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue