From: Amos Jeffries Date: Tue, 16 Apr 2013 13:09:27 +0000 (-0600) Subject: Resolve unused variable warnings from rev.12757 X-Git-Tag: SQUID_3_4_0_1~202 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0e6f5785cec6302085f7962ef89e24e5be6a34b;p=thirdparty%2Fsquid.git Resolve unused variable warnings from rev.12757 --- diff --git a/src/comm.cc b/src/comm.cc index caf6d5032e..7f3ce5061a 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -503,22 +503,22 @@ comm_set_v6only(int fd, int tos) void comm_set_transparent(int fd) { - bool doneSuid = false; #if _SQUID_LINUX_ && defined(IP_TRANSPARENT) // Linux # define soLevel SOL_IP # define soFlag IP_TRANSPARENT + bool doneSuid = false; #elif defined(SO_BINDANY) // OpenBSD 4.7+ and NetBSD with PF # define soLevel SOL_SOCKET # define soFlag SO_BINDANY enter_suid(); - doneSuid = true; + bool doneSuid = true; #elif defined(IP_BINDANY) // FreeBSD with IPFW # define soLevel IPPROTO_IP # define soFlag IP_BINDANY enter_suid(); - doneSuid = true; + bool doneSuid = true; #else debugs(50, DBG_CRITICAL, "WARNING: comm_open: setsockopt(TPROXY) not supported on this platform");