gen_utf8_tables: remove unused variable
This commit is contained in:
1 parent
19d266b528
commit
61b75639a7
1 file changed
-1
@@ -7,7 +7,6 @@ mask = lambda n: (1 << n) - 1
|
|||||||
|
|
||||||
def print_table(type, name, t):
|
def print_table(type, name, t):
|
||||||
print("static const %s %s[] =" % (type, name))
|
print("static const %s %s[] =" % (type, name))
|
||||||
first = True
|
|
||||||
for i in range(0,len(t),16):
|
for i in range(0,len(t),16):
|
||||||
print ((" {" if i == 0 else " ") +
|
print ((" {" if i == 0 else " ") +
|
||||||
", ".join("0x%02x"%n for n in t[i:i+16]) +
|
", ".join("0x%02x"%n for n in t[i:i+16]) +
|
||||||
|
|||||||
Reference in new issue
Block a user