fdi2iclass: remove unused local variable

Fixes LGTM warning "The value assigned to local variable 'children' is
never used."

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
This commit is contained in:
Konstantin Kharlamov 2019-03-24 02:28:08 +03:00 committed by Alan Coopersmith
parent cd9d32c289
commit 1eddcbe5c4

View File

@ -184,9 +184,6 @@ def parse_fdi(fdi):
# find all <match> leaf nodes
num = 0
for match_node in fdi.getElementsByTagName('match'):
children = set([n.tagName for n in match_node.childNodes
if n.nodeType == xml.dom.minidom.Node.ELEMENT_NODE])
# see if there are any options at this level
(driver, ignore, options) = parse_options(match_node)
if not driver and not ignore and not options: