diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-06-28 16:19:47 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-06-28 16:19:47 +0000 |
commit | 2906616379634d615a8db4ded281c034ba4607b7 (patch) | |
tree | 697e1ac48a6cf2da414f0241e3759e1e87ff3556 | |
parent | 2f26743921fcbe66409e49e2a8519205acddee86 (diff) | |
download | pcre2-2906616379634d615a8db4ded281c034ba4607b7.tar.gz |
Add missing #ifdef SUPPORT_UNICODE to avoid "unused variable" warning.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@535 6239d852-aaf2-0410-a92c-79f79f948069
-rw-r--r-- | src/pcre2_auto_possess.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pcre2_auto_possess.c b/src/pcre2_auto_possess.c index d4d2334..8d0fa89 100644 --- a/src/pcre2_auto_possess.c +++ b/src/pcre2_auto_possess.c @@ -91,6 +91,7 @@ static const uint8_t autoposstab[APTROWS][APTCOLS] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 } /* \X */ }; +#ifdef SUPPORT_UNICODE /* This table is used to check whether auto-possessification is possible between adjacent Unicode property opcodes (OP_PROP and OP_NOTPROP). The left-hand (repeated) opcode is used to select the row, and the right-hand @@ -170,6 +171,7 @@ static const uint8_t posspropstab[3][4] = { { ucp_Z, ucp_Z, ucp_C, ucp_Cc }, /* SPACE and PXSPACE, 2nd value redundant */ { ucp_L, ucp_N, ucp_P, ucp_Po } /* WORD */ }; +#endif /* SUPPORT_UNICODE */ |