diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-21 17:22:30 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-21 17:22:30 +0000 |
commit | 8dbb61be460ee8681a401017cbee5b5a92b62ea2 (patch) | |
tree | ce0f6ac0d1c5d23b9e41076aea787f317cd9249b /pcre32_valid_utf32.c | |
parent | 28a2356d33cc9164ff6845926b95659cdf440e10 (diff) | |
download | pcre-8dbb61be460ee8681a401017cbee5b5a92b62ea2.tar.gz |
Lose compiler warning when UTF not configured.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1157 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre32_valid_utf32.c')
-rw-r--r-- | pcre32_valid_utf32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcre32_valid_utf32.c b/pcre32_valid_utf32.c index c125440..ff0b0c2 100644 --- a/pcre32_valid_utf32.c +++ b/pcre32_valid_utf32.c @@ -122,6 +122,7 @@ for (p = string; length-- > 0; p++) #else /* SUPPORT_UTF */ (void)(string); /* Keep picky compilers happy */ (void)(length); +(void)(erroroffset); #endif /* SUPPORT_UTF */ return PCRE_UTF32_ERR0; /* This indicates success */ |