Skip to content

Commit a7cb69a

Browse files
committed
Silence compiler warning about unused variable on Windows.
1 parent 918854c commit a7cb69a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,9 @@ PQconnectPoll(PGconn *conn)
16321632

16331633
if (!IS_AF_UNIX(addr_cur->ai_family))
16341634
{
1635+
#ifndef WIN32
16351636
int on = 1;
1637+
#endif
16361638
int usekeepalives = useKeepalives(conn);
16371639
int err = 0;
16381640

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