aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 28c44559d..0d24697d2 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -934,7 +934,6 @@ singleipconnect(struct connectdata *conn,
error = SOCKERRNO;
}
else {
- rc = 0;
*sockp = sockfd;
return CURLE_OK;
}