From 0fae81501a80fae6e96942f8d766daf4c61defc7 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Sat, 30 Jul 2016 10:37:53 +0100 Subject: [PATCH] Fix bogus warnings Fix some bogus "may be used uninitialized" warnings on some compilers. Reviewed-by: Rich Salz --- test/sslapitest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1