Remove useless assignment.
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 9 Sep 2016 00:57:14 +0000 (09:57 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 9 Sep 2016 00:59:09 +0000 (09:59 +0900)
Per coverity CID 1362589.

src/protocol/pool_connection_pool.c

index 69122c99c049ac5d318bb658146405ba11899cb5..61046570b18e74a0c92af0ce37799425f4148d98 100644 (file)
@@ -777,7 +777,6 @@ int connect_inet_domain_socket_by_port(char *host, int port, bool retry)
                if (!connect_with_timeout(fd, walk, host, port, retry))
                {
                        close(fd);
-                       fd = -1;
                        continue;
                }