aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-02-05 14:07:39 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-02-05 14:07:39 +0100
commit4cd027f17e0677e43bdcb8e8ddfc8a8e5fc8cd39 (patch)
tree3b033d2f86e92993ca94aaabb4eee12264ec232d /lib
parentbd1f170a5af7b9faee7792766de8d75dcad3b231 (diff)
singleipconnect: remove dead assignment
pointed out by clang-analyzer
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;
}