Skip to content

Commit b2e2d3a

Browse files
committed
Silence compiler warning about unused variable on Windows.
1 parent a03e3e1 commit b2e2d3a

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
@@ -1530,7 +1530,9 @@ PQconnectPoll(PGconn *conn)
15301530

15311531
if (!IS_AF_UNIX(addr_cur->ai_family))
15321532
{
1533+
#ifndef WIN32
15331534
int on = 1;
1535+
#endif
15341536
int usekeepalives = useKeepalives(conn);
15351537
int err = 0;
15361538

0 commit comments

Comments
 (0)