From: Steffan Karger Date: Sun, 1 Jun 2014 17:58:56 +0000 (+0200) Subject: Remove unused variable 'proxy' from socket_restart_pause() X-Git-Tag: v2.4_alpha1~418 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55af8e9a4138db0c9de6f6e29dec9839231ec798;p=thirdparty%2Fopenvpn.git Remove unused variable 'proxy' from socket_restart_pause() Variable 'proxy' was set but never read, so remove it. Signed-off-by: Steffan Karger Acked-by: Gert Doering Message-Id: <1401645536-27849-6-git-send-email-steffan@karger.me> URL: http://article.gmane.org/gmane.network.openvpn.devel/8750 Signed-off-by: Gert Doering --- diff --git a/src/openvpn/init.c b/src/openvpn/init.c index 021b5ca7a..76b1bbe2a 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: