[master] f8b37ce ifdef int x declaration to fix build failure
Tollef Fog Heen
tfheen at varnish-cache.org
Tue Mar 12 15:13:54 CET 2013
commit f8b37ce317b2e5b524b72dc507f842333df15197
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Tue Mar 12 15:13:07 2013 +0100
ifdef int x declaration to fix build failure
diff --git a/bin/varnishd/cache/cache_acceptor.c b/bin/varnishd/cache/cache_acceptor.c
index ee9352f..e7de0b3 100644
--- a/bin/varnishd/cache/cache_acceptor.c
+++ b/bin/varnishd/cache/cache_acceptor.c
@@ -122,12 +122,15 @@ static unsigned need_test;
static int
vca_tcp_opt_init(void)
{
- int n, x;
+ int n;
int one = 1;
// int zero = 0;
struct tcp_opt *to;
struct timeval tv;
int chg = 0;
+#ifdef HAVE_TCP_KEEP
+ int x;
+#endif
for (n = 0; n < n_tcp_opts; n++) {
to = &tcp_opts[n];
More information about the varnish-commit
mailing list