From: miod Date: Sat, 26 Apr 2014 22:54:54 +0000 (+0000) Subject: Appease gcc3 -Wuninitialized. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c7e6308377cb4d19886196ccabdcb93a5d3c6f39;p=openbsd Appease gcc3 -Wuninitialized. --- diff --git a/lib/libssl/src/ssl/t1_lib.c b/lib/libssl/src/ssl/t1_lib.c index 01ecf9479d0..bb333318620 100644 --- a/lib/libssl/src/ssl/t1_lib.c +++ b/lib/libssl/src/ssl/t1_lib.c @@ -1799,7 +1799,7 @@ int ssl_check_clienthello_tlsext_late(SSL *s) { int ret = SSL_TLSEXT_ERR_OK; - int al; + int al = 0; /* XXX gcc3 */ /* If status request then ask callback what to do. * Note: this must be called after servername callbacks in case diff --git a/lib/libssl/t1_lib.c b/lib/libssl/t1_lib.c index 01ecf9479d0..bb333318620 100644 --- a/lib/libssl/t1_lib.c +++ b/lib/libssl/t1_lib.c @@ -1799,7 +1799,7 @@ int ssl_check_clienthello_tlsext_late(SSL *s) { int ret = SSL_TLSEXT_ERR_OK; - int al; + int al = 0; /* XXX gcc3 */ /* If status request then ask callback what to do. * Note: this must be called after servername callbacks in case