postgres.git / summary / log / commit / refs
commit a7cb69a5a345fe9ba481a035559d77abd07791d9
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Tue Apr 19 11:54:48 2011 +0000
First released in: 9.1.0, 9.0.5
Silence compiler warning about unused variable on Windows.
src/interfaces/libpq/fe-connect.c | 2 ++
1 file changed, 2 insertions(+)
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;
[parent: 918854cc0886]