From 640564bfeb0860032d98439dfa9f5585af59a09e Mon Sep 17 00:00:00 2001 From: ph10 Date: Sat, 8 Sep 2012 16:05:38 +0000 Subject: Get rid of compiler warnings for unused variables and a missing initializer when UTF support is not configured. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1032 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- pcre_study.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pcre_study.c') diff --git a/pcre_study.c b/pcre_study.c index c85ff88..0359e45 100644 --- a/pcre_study.c +++ b/pcre_study.c @@ -564,9 +564,11 @@ if (utf && c > 127) (void)PRIV(ord2utf)(c, buff); SET_BIT(buff[0]); } -#endif +#endif /* Not SUPPORT_UCP */ return p; } +#else /* Not SUPPORT_UTF */ +(void)(utf); /* Stops warning for unused parameter */ #endif /* Not UTF-8 mode, or character is less than 127. */ -- cgit v1.2.1