Skip to content

Commit 554ca69

Browse files
committed
Remove duplicate variable declaration in fe-connect.c
The same variables are declared twice when checking if a connection is writable, which is useless. Author: Haribabu Kommi Discussion: https://postgr.es/m/CAJrrPGf=rcALB54w_Tg1_hx3y+cgSWaERY-uYSQzGc3Zt5XN4g@mail.gmail.com
1 parent 24d08f3 commit 554ca69

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3349,9 +3349,6 @@ PQconnectPoll(PGconn *conn)
33493349
if (strncmp(val, "on", 2) == 0)
33503350
{
33513351
/* Not writable; fail this connection. */
3352-
const char *displayed_host;
3353-
const char *displayed_port;
3354-
33553352
PQclear(res);
33563353
restoreErrorMessage(conn, &savedMessage);
33573354

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy