summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-04-19 14:54:48 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-04-19 14:54:48 +0300
commitb2e2d3a3781c717ee826d01d83e55009321ac24d (patch)
tree98d03369cd4e2a6239b95bd636287f48055207fc /src
parenta03e3e1fd1d4ecfeb1096aeb7854b717061a75d9 (diff)
Silence compiler warning about unused variable on Windows.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-connect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 6eb64925356..cc76150cb3c 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -1530,7 +1530,9 @@ keep_going: /* We will come back to here until there is
if (!IS_AF_UNIX(addr_cur->ai_family))
{
+#ifndef WIN32
int on = 1;
+#endif
int usekeepalives = useKeepalives(conn);
int err = 0;