diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-11-04 16:13:29 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-11-04 16:13:29 +0000 |
commit | 1590b077fee62ff4f0849b40d9afb150a4f8424e (patch) | |
tree | 21fd2ad3bfb6aea7d3b89d4ab53db992bfe97bb5 /pcretest.c | |
parent | 1d5761adcea0c5fb8c71f9c98b8d60c42ce2c9b1 (diff) | |
download | pcre-1590b077fee62ff4f0849b40d9afb150a4f8424e.tar.gz |
Lose compiler warnings.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1202 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcretest.c')
-rw-r--r-- | pcretest.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1790,6 +1790,8 @@ Returns: TRUE if the string is a valid UTF-32 string FALSE otherwise */ +#ifdef NEVER + #ifdef SUPPORT_UTF static BOOL valid_utf32(pcre_uint32 *string, int length) @@ -1817,6 +1819,9 @@ return TRUE; } #endif /* SUPPORT_UTF */ +#endif /* NEVER */ + + #endif /************************************************* @@ -2106,6 +2111,8 @@ static int pchars32(PCRE_SPTR32 p, int length, BOOL utf, FILE *f) { int yield = 0; +(void)(utf); /* Avoid compiler warning */ + if (length < 0) length = strlen32(p); |