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:57:14 +0000 (09:57 +0900)
Per coverity CID 1362589.

src/protocol/pool_connection_pool.c

index b51d931afca3012da37bba8098037179892dfb9b..537ea93bf757ee299febb4775fd95a9632a54b50 100644 (file)
@@ -774,7 +774,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;
                }