Skip to content

Commit 57488c1

Browse files
committed
Fix compiler warning
From: David Rowley <david.rowley@2ndquadrant.com>
1 parent 1e6de94 commit 57488c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/dblink/dblink.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,9 @@ dblink_get_named_conn(const char *conname)
225225
remoteConn *rconn = getConnectionByName(conname);
226226
if (rconn)
227227
return rconn->conn;
228-
else
229-
dblink_conn_not_avail(conname);
228+
229+
dblink_conn_not_avail(conname);
230+
return NULL; /* keep compiler quiet */
230231
}
231232

232233
static void

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