Browse code

Remove unused variable 'proxy' from socket_restart_pause()

Variable 'proxy' was set but never read, so remove it.

Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>

Steffan Karger authored on 2014/06/02 02:58:56
Showing 1 changed files
... ...
@@ -1860,18 +1860,8 @@ do_hold (struct context *c)
1860 1860
 static void
1861 1861
 socket_restart_pause (struct context *c)
1862 1862
 {
1863
-  bool proxy = false;
1864 1863
   int sec = 2;
1865 1864
 
1866
-#ifdef ENABLE_HTTP_PROXY
1867
-  if (c->options.ce.http_proxy_options)
1868
-    proxy = true;
1869
-#endif
1870
-#ifdef ENABLE_SOCKS
1871
-  if (c->options.ce.socks_proxy_server)
1872
-    proxy = true;
1873
-#endif
1874
-
1875 1865
   switch (c->options.ce.proto)
1876 1866
     {
1877 1867
     case PROTO_TCP_SERVER: