misc: removed the gcc-maybe-uninitialized-warning patch.

This was fixed in the 1.5.10 release. We unconditionally remove it since
we only support NGINX cores 1.6.0 and above.
This commit is contained in:
Thibault Charbonnier 2020-01-20 15:26:42 -08:00 committed by Thibault Charbonnier
parent 6d7249f1c4
commit 268229af83
2 changed files with 0 additions and 18 deletions

View File

@ -1,11 +0,0 @@
--- nginx-1.17.4/src/http/ngx_http_request.c 2013-05-06 03:26:50.000000000 -0700
+++ nginx-1.17.4-patched/src/http/ngx_http_request.c 2013-06-11 12:59:48.008321688 -0700
@@ -1951,7 +1951,7 @@
ngx_int_t rc;
ngx_http_connection_t *hc;
ngx_http_core_loc_conf_t *clcf;
- ngx_http_core_srv_conf_t *cscf;
+ ngx_http_core_srv_conf_t *cscf = NULL;
hc = r->http_connection;

View File

@ -280,13 +280,6 @@ if [ "$answer" = "N" ]; then
echo
fi
answer=`$root/util/ver-ge "$main_ver" 1.4.1`
if [ "$answer" = "Y" ]; then
echo "$info_txt applying patches/nginx-$main_ver-gcc-maybe-uninitialized-warning.patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-gcc-maybe-uninitialized-warning.patch
echo
fi
answer=`$root/util/ver-ge "$main_ver" 1.5.3`
if [ "$answer" = "N" ]; then
echo "$info_txt applying the unix_socket_accept_over_read patch for nginx $ver"