Commit c36069c5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Pretend to use the variables, even if the kernel is deficient.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4565 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a8af8d60
......@@ -118,6 +118,10 @@ sock_test(int fd)
assert(l == sizeof tv);
if (memcmp(&tv, &tv_sndtimeo, l))
need_sndtimeo = 1;
#else
(void)tv;
(void)tv_sndtimeo;
(void)need_sndtimeo;
#endif
#ifdef SO_RCVTIMEO_WORKS
......@@ -126,6 +130,10 @@ sock_test(int fd)
assert(l == sizeof tv);
if (memcmp(&tv, &tv_rcvtimeo, l))
need_rcvtimeo = 1;
#else
(void)tv;
(void)tv_rcvtimeo;
(void)need_rcvtimeo;
#endif
need_test = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment