summaryrefslogtreecommitdiff
path: root/pcre_ucd.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-09-08 16:05:38 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-09-08 16:05:38 +0000
commit640564bfeb0860032d98439dfa9f5585af59a09e (patch)
tree067cde583dc6419d2f5e512eec3dc1483d9954f3 /pcre_ucd.c
parent62e0b387d87565e1d188d744ef724352229151ec (diff)
downloadpcre-640564bfeb0860032d98439dfa9f5585af59a09e.tar.gz
Get rid of compiler warnings for unused variables and a missing initializer
when UTF support is not configured. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1032 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_ucd.c')
-rw-r--r--pcre_ucd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_ucd.c b/pcre_ucd.c
index 8335c67..5df8d1e 100644
--- a/pcre_ucd.c
+++ b/pcre_ucd.c
@@ -18,7 +18,7 @@ a totally empty module because some compilers barf at that.
Instead, just supply small dummy tables. */
#ifndef SUPPORT_UCP
-const ucd_record PRIV(ucd_records)[] = {{0,0,0 }};
+const ucd_record PRIV(ucd_records)[] = {{0,0,0,0 }};
const pcre_uint8 PRIV(ucd_stage1)[] = {0};
const pcre_uint16 PRIV(ucd_stage2)[] = {0};
#else