diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-04-19 14:54:48 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-04-19 14:55:26 +0300 |
commit | a7cb69a5a345fe9ba481a035559d77abd07791d9 (patch) | |
tree | e23795f005d35bfd37feccea89f9f945e1dec295 | |
parent | 918854cc08868d569aad3bdf2529fc61c66ecde5 (diff) | |
download | postgresql-a7cb69a5a345fe9ba481a035559d77abd07791d9.tar.gz postgresql-a7cb69a5a345fe9ba481a035559d77abd07791d9.zip |
Silence compiler warning about unused variable on Windows.
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 729730aa8cc..1b409d1e44f 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -1632,7 +1632,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; |