summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/pcre/pcre_compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nginx/src/pcre/pcre_compile.c')
-rw-r--r--usr.sbin/nginx/src/pcre/pcre_compile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/nginx/src/pcre/pcre_compile.c b/usr.sbin/nginx/src/pcre/pcre_compile.c
index 2dbe9ca40a4..ce8e47bbe96 100644
--- a/usr.sbin/nginx/src/pcre/pcre_compile.c
+++ b/usr.sbin/nginx/src/pcre/pcre_compile.c
@@ -2922,6 +2922,10 @@ get_othercase_range(pcre_uint32 *cptr, pcre_uint32 d, pcre_uint32 *ocptr,
pcre_uint32 c, othercase, next;
unsigned int co;
+#if defined(__GNUC__) && __GNUC__ == 3
+othercase = 0; /* XXX gcc -Wuninitialized */
+#endif
+
/* Find the first character that has an other case. If it has multiple other
cases, return its case offset value. */