diff options
Diffstat (limited to 'ext/pcre/pcrelib/pcre_valid_utf8.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_valid_utf8.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pcre/pcrelib/pcre_valid_utf8.c b/ext/pcre/pcrelib/pcre_valid_utf8.c index 6b341c195e..7184560d88 100644 --- a/ext/pcre/pcrelib/pcre_valid_utf8.c +++ b/ext/pcre/pcrelib/pcre_valid_utf8.c @@ -152,6 +152,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; |