git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 918854c)
Silence compiler warning about unused variable on Windows.
2011年4月19日 11:54:48 +0000 (14:54 +0300)
2011年4月19日 11:55:26 +0000 (14:55 +0300)

diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 729730aa8cc66810756fe7e8cdb567e058756202..1b409d1e44ff05007de14683a04f2c18b0dfb300 100644 (file)
--- 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;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /