From: Heikki Linnakangas Date: Tue, 19 Apr 2011 11:54:48 +0000 (+0300) Subject: Silence compiler warning about unused variable on Windows. X-Git-Tag: REL9_1_BETA1~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7cb69a5a345fe9ba481a035559d77abd07791d9;p=postgresql Silence compiler warning about unused variable on Windows. --- diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 729730aa8c..1b409d1e44 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;