mirror of
https://github.com/holub/mame
synced 2025-06-22 20:38:50 +03:00
Remove unused "opc", fix possible undefined name "inf". (nw)
This commit is contained in:
parent
1de7212abe
commit
d89926362e
@ -266,7 +266,7 @@ class OpcodeList:
|
||||
sys.stderr.write("Cannot read opcodes file %s [%s]\n" % (fname, err))
|
||||
sys.exit(1)
|
||||
|
||||
opc = None
|
||||
inf = None
|
||||
for line in f:
|
||||
if line.startswith("#"):
|
||||
continue
|
||||
|
@ -75,7 +75,7 @@ class OpcodeList:
|
||||
sys.stderr.write("Cannot read opcodes file %s [%s]\n" % (fname, err))
|
||||
sys.exit(1)
|
||||
|
||||
opc = None
|
||||
inf = None
|
||||
for line in f:
|
||||
if line.startswith("#"):
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user