mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
sws.c: Fixed warning: 'err' may be used uninitialized in this function
This commit is contained in:
parent
ef753b710b
commit
6372144be0
@ -1456,7 +1456,7 @@ static void http_connect(curl_socket_t *infdp,
|
||||
curl_socket_t datafd = accept(rootfd, NULL, NULL);
|
||||
if(datafd != CURL_SOCKET_BAD) {
|
||||
struct httprequest req2;
|
||||
int err;
|
||||
int err = 0;
|
||||
memset(&req2, 0, sizeof(req2));
|
||||
logmsg("====> Client connect DATA");
|
||||
#ifdef TCP_NODELAY
|
||||
|
Loading…
Reference in New Issue
Block a user