From: Jeff Trawick Date: Mon, 21 Apr 2014 11:03:26 +0000 (+0000) Subject: Initialize post_handshake_rc for case where a failure has X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a6c94bafd831c6079b423c2a3dcf741b2079ec1;p=thirdparty%2Fapache%2Fhttpd.git Initialize post_handshake_rc for case where a failure has already occurred (doesn't change execution but avoids warning with some levels of gcc). Pointed out by: kbrand git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1588868 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index 26a901f8565..ca8d52fb205 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -1124,7 +1124,7 @@ static apr_status_t ssl_io_filter_handshake(ssl_filter_ctx_t *filter_ctx) const char *hostname_note = apr_table_get(c->notes, "proxy-request-hostname"); BOOL proxy_ssl_check_peer_ok = TRUE; - int post_handshake_rc; + int post_handshake_rc = OK; sc = mySrvConfig(server);