summaryrefslogtreecommitdiff
path: root/pcre32_valid_utf32.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-21 17:22:30 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-21 17:22:30 +0000
commit8dbb61be460ee8681a401017cbee5b5a92b62ea2 (patch)
treece0f6ac0d1c5d23b9e41076aea787f317cd9249b /pcre32_valid_utf32.c
parent28a2356d33cc9164ff6845926b95659cdf440e10 (diff)
downloadpcre-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.c1
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 */