From: Matt Caswell Date: Sat, 30 Jul 2016 09:37:53 +0000 (+0100) Subject: Fix bogus warnings X-Git-Tag: OpenSSL_1_1_0-pre6~55 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0fae81501a80fae6e96942f8d766daf4c61defc7;p=oweals%2Fopenssl.git Fix bogus warnings Fix some bogus "may be used uninitialized" warnings on some compilers. Reviewed-by: Rich Salz --- diff --git a/test/sslapitest.c b/test/sslapitest.c index 5fc552d13c..cb8621737b 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -352,7 +352,7 @@ static int test_ssl_set_bio(int idx) SSL_CTX *ctx = SSL_CTX_new(TLS_method()); BIO *bio1 = NULL; BIO *bio2 = NULL; - BIO *irbio, *iwbio, *nrbio, *nwbio; + BIO *irbio = NULL, *iwbio = NULL, *nrbio = NULL, *nwbio = NULL; SSL *ssl = NULL; int initrbio, initwbio, newrbio, newwbio; int testresult = 0;