Fix warning when compiled without Unicode support.
This commit is contained in:
parent
ae913fbee7
commit
a657d4cff8
|
@ -656,7 +656,7 @@ print("a totally empty module because some compilers barf at that.")
|
||||||
print("Instead, just supply some small dummy tables. */")
|
print("Instead, just supply some small dummy tables. */")
|
||||||
print()
|
print()
|
||||||
print("#ifndef SUPPORT_UNICODE")
|
print("#ifndef SUPPORT_UNICODE")
|
||||||
print("const ucd_record PRIV(ucd_records)[] = {{0,0,0,0,0 }};")
|
print("const ucd_record PRIV(ucd_records)[] = {{0,0,0,0,0,0,0 }};")
|
||||||
print("const uint16_t PRIV(ucd_stage1)[] = {0};")
|
print("const uint16_t PRIV(ucd_stage1)[] = {0};")
|
||||||
print("const uint16_t PRIV(ucd_stage2)[] = {0};")
|
print("const uint16_t PRIV(ucd_stage2)[] = {0};")
|
||||||
print("const uint32_t PRIV(ucd_caseless_sets)[] = {0};")
|
print("const uint32_t PRIV(ucd_caseless_sets)[] = {0};")
|
||||||
|
|
|
@ -33,7 +33,7 @@ a totally empty module because some compilers barf at that.
|
||||||
Instead, just supply some small dummy tables. */
|
Instead, just supply some small dummy tables. */
|
||||||
|
|
||||||
#ifndef SUPPORT_UNICODE
|
#ifndef SUPPORT_UNICODE
|
||||||
const ucd_record PRIV(ucd_records)[] = {{0,0,0,0,0 }};
|
const ucd_record PRIV(ucd_records)[] = {{0,0,0,0,0,0,0 }};
|
||||||
const uint16_t PRIV(ucd_stage1)[] = {0};
|
const uint16_t PRIV(ucd_stage1)[] = {0};
|
||||||
const uint16_t PRIV(ucd_stage2)[] = {0};
|
const uint16_t PRIV(ucd_stage2)[] = {0};
|
||||||
const uint32_t PRIV(ucd_caseless_sets)[] = {0};
|
const uint32_t PRIV(ucd_caseless_sets)[] = {0};
|
||||||
|
|
Loading…
Reference in New Issue