mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
gen_utf8_tables: remove unused variable
This commit is contained in:
committed by
Nico Williams
parent
19d266b528
commit
61b75639a7
@@ -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