From 851d65f42191b664ba09ce6df72d13db63aab921 Mon Sep 17 00:00:00 2001 From: ph10 Date: Sun, 24 Aug 2008 16:53:47 +0000 Subject: Patch to reduce warnings from certain compilers. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@369 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- pcre_valid_utf8.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pcre_valid_utf8.c') diff --git a/pcre_valid_utf8.c b/pcre_valid_utf8.c index bc3bc8f..5f2df08 100644 --- a/pcre_valid_utf8.c +++ b/pcre_valid_utf8.c @@ -154,6 +154,9 @@ for (p = string; length-- > 0; p++) if ((*(++p) & 0xc0) != 0x80) return p - string; } } +#else +(void)(string); /* Keep picky compilers happy */ +(void)(length); #endif return -1; -- cgit v1.2.1