Variable 'proxy' was set but never read, so remove it. Signed-off-by: Steffan Karger <stef...@karger.me> --- src/openvpn/init.c | 10 ---------- 1 file changed, 10 deletions(-)
diff --git a/src/openvpn/init.c b/src/openvpn/init.c index 021b5ca..76b1bbe 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -1860,18 +1860,8 @@ do_hold (struct context *c) static void socket_restart_pause (struct context *c) { - bool proxy = false; int sec = 2; -#ifdef ENABLE_HTTP_PROXY - if (c->options.ce.http_proxy_options) - proxy = true; -#endif -#ifdef ENABLE_SOCKS - if (c->options.ce.socks_proxy_server) - proxy = true; -#endif - switch (c->options.ce.proto) { case PROTO_TCP_SERVER: -- 1.9.1