summaryrefslogtreecommitdiff
path: root/pcretest.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-11-04 16:13:29 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-11-04 16:13:29 +0000
commit1590b077fee62ff4f0849b40d9afb150a4f8424e (patch)
tree21fd2ad3bfb6aea7d3b89d4ab53db992bfe97bb5 /pcretest.c
parent1d5761adcea0c5fb8c71f9c98b8d60c42ce2c9b1 (diff)
downloadpcre-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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcretest.c b/pcretest.c
index 9eb25b9..ec91845 100644
--- a/pcretest.c
+++ b/pcretest.c
@@ -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);