connect.c: remove superfluous 'else' in Curl_getconnectinfo

Closes #5912
This commit is contained in:
ihsinme 2020-09-04 14:23:14 +03:00 committed by Daniel Stenberg
parent d541f83d5a
commit d1d3105317
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 2 deletions

View File

@ -1419,8 +1419,7 @@ curl_socket_t Curl_getconnectinfo(struct Curl_easy *data,
}
return c->sock[FIRSTSOCKET];
}
else
return CURL_SOCKET_BAD;
return CURL_SOCKET_BAD;
}
/*