From: Emilia Kasper <emilia@openssl.org>
Date: Wed, 23 Sep 2015 17:57:42 +0000 (+0200)
Subject: Silence Wconditional-uninitialized
X-Git-Tag: OpenSSL_1_1_0-pre1~505
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3a79618474f28537564f172b7aa8533e352b5dc5;p=oweals%2Fopenssl.git

Silence Wconditional-uninitialized

Reviewed-by: Matt Caswell <matt@openssl.org>
---

diff --git a/apps/s_server.c b/apps/s_server.c
index 9ce1416247..f70539301e 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -2413,7 +2413,7 @@ static int init_ssl_connection(SSL *con)
         i = DTLSv1_listen(con, &client);
         if (i > 0) {
             BIO *wbio;
-            int fd;
+            int fd = -1;
 
             wbio = SSL_get_wbio(con);
             if(wbio) {