diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-11-13 08:26:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-11-13 08:27:36 +0100 |
commit | fa1512b2a01fd5feb921c20412f4b7526ac70de6 (patch) | |
tree | 3c983bf155aa436d91c346f6f103047f3af6ff72 /lib/smb.c | |
parent | 9f78b0544358abfd8853cc2997dd78f61287550f (diff) | |
download | curl-fa1512b2a01fd5feb921c20412f4b7526ac70de6.tar.gz |
SMB: fix uninitialized local variable
Reported-by: Brian Carpenter
Diffstat (limited to 'lib/smb.c')
-rw-r--r-- | lib/smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |