summaryrefslogtreecommitdiff
path: root/usr.sbin/nginx
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-06-23 11:07:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-06-23 11:07:29 +0000
commit11fcd617424fa87e0d263e2bfdb3dd42983b0ada (patch)
tree785047d679239d5615c71340a01c68eccff4b0be /usr.sbin/nginx
parentf67ce9cc360543cabbb00b9ca3f20709f26d8b85 (diff)
Put back r1.7
Diffstat (limited to 'usr.sbin/nginx')
-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. */