]> granicus.if.org Git - curl/commitdiff
singleipconnect: remove dead assignment
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Feb 2013 13:07:39 +0000 (14:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Feb 2013 13:07:39 +0000 (14:07 +0100)
pointed out by clang-analyzer

lib/connect.c

index 28c44559d8cc96c3cb0743f8da381e140503fee6..0d24697d2c10a30d64a54f983991a2e86cc698eb 100644 (file)
@@ -934,7 +934,6 @@ singleipconnect(struct connectdata *conn,
       error = SOCKERRNO;
   }
   else {
-    rc = 0;
     *sockp = sockfd;
     return CURLE_OK;
   }