diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2008-08-24 16:53:47 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2008-08-24 16:53:47 +0000 |
commit | 851d65f42191b664ba09ce6df72d13db63aab921 (patch) | |
tree | 59609d43e98040da106e564e32382b336a660369 /pcre_ord2utf8.c | |
parent | 41687a877dcdcc63d1d53b0648600018ceecb2eb (diff) | |
download | pcre-851d65f42191b664ba09ce6df72d13db63aab921.tar.gz |
Patch to reduce warnings from certain compilers.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@369 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_ord2utf8.c')
-rw-r--r-- | pcre_ord2utf8.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pcre_ord2utf8.c b/pcre_ord2utf8.c index 0fdc512..202031f 100644 --- a/pcre_ord2utf8.c +++ b/pcre_ord2utf8.c @@ -78,8 +78,10 @@ for (j = i; j > 0; j--) *buffer = _pcre_utf8_table2[i] | cvalue; return i + 1; #else -return 0; /* Keep compiler happy; this function won't ever be */ -#endif /* called when SUPPORT_UTF8 is not defined. */ +(void)(cvalue); /* Keep compiler happy; this function won't ever be */ +(void)(buffer); /* called when SUPPORT_UTF8 is not defined. */ +return 0; +#endif } /* End of pcre_ord2utf8.c */ |