Revision: 1065
http://www.exim.org/viewvc/pcre2?view=rev&revision=1065
Author: ph10
Date: 2019-02-03 14:49:39 +0000 (Sun, 03 Feb 2019)
Log Message:
-----------
Fix warning when compiled without Unicode support.
Modified Paths:
--------------
code/trunk/maint/MultiStage2.py
code/trunk/src/pcre2_ucd.c
Modified: code/trunk/maint/MultiStage2.py
===================================================================
--- code/trunk/maint/MultiStage2.py 2019-01-30 16:11:16 UTC (rev 1064)
+++ code/trunk/maint/MultiStage2.py 2019-02-03 14:49:39 UTC (rev 1065)
@@ -656,7 +656,7 @@
print("Instead, just supply some small dummy tables. */")
print()
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_stage2)[] = {0};")
print("const uint32_t PRIV(ucd_caseless_sets)[] = {0};")
Modified: code/trunk/src/pcre2_ucd.c
===================================================================
--- code/trunk/src/pcre2_ucd.c 2019-01-30 16:11:16 UTC (rev 1064)
+++ code/trunk/src/pcre2_ucd.c 2019-02-03 14:49:39 UTC (rev 1065)
@@ -33,7 +33,7 @@
Instead, just supply some small dummy tables. */
#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_stage2)[] = {0};
const uint32_t PRIV(ucd_caseless_sets)[] = {0};