From fa1512b2a01fd5feb921c20412f4b7526ac70de6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 13 Nov 2017 08:26:54 +0100 Subject: SMB: fix uninitialized local variable Reported-by: Brian Carpenter --- lib/smb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/smb.c') diff --git a/lib/smb.c b/lib/smb.c index 13dfd514b..efcfd2da2 100644 --- a/lib/smb.c +++ b/lib/smb.c @@ -648,7 +648,7 @@ static CURLcode smb_connection_state(struct connectdata *conn, bool *done) if(smbc->state == SMB_CONNECTING) { #ifdef USE_SSL if((conn->handler->flags & PROTOPT_SSL)) { - bool ssl_done; + bool ssl_done = FALSE; result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, &ssl_done); if(result && result != CURLE_AGAIN) return result; -- cgit v1.2.1