diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-01-20 11:58:19 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-01-20 11:58:19 +0000 |
commit | d1e1fc0eef865cba36f9ba23ee22f50ab3c467ff (patch) | |
tree | fdce7f80554170c7f5418672fb1314e007ba6eb0 /pcre_dfa_exec.c | |
parent | 4113dfcc0bc064a56d1097667bb0140d2d137b71 (diff) | |
download | pcre-d1e1fc0eef865cba36f9ba23ee22f50ab3c467ff.tar.gz |
Avoid compiler warning when UTF not configured.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@894 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_dfa_exec.c')
-rw-r--r-- | pcre_dfa_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c index f61dbd3..c751a42 100644 --- a/pcre_dfa_exec.c +++ b/pcre_dfa_exec.c @@ -2690,10 +2690,10 @@ for (;;) { for (rc = rc*2 - 2; rc >= 0; rc -= 2) { - const pcre_uchar *p = start_subject + local_offsets[rc]; - const pcre_uchar *pp = start_subject + local_offsets[rc+1]; int charcount = local_offsets[rc+1] - local_offsets[rc]; #ifdef SUPPORT_UTF + const pcre_uchar *p = start_subject + local_offsets[rc]; + const pcre_uchar *pp = start_subject + local_offsets[rc+1]; while (p < pp) if (NOT_FIRSTCHAR(*p++)) charcount--; #endif if (charcount > 0) |