summaryrefslogtreecommitdiffstats
path: root/src/openvpn/init.c
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-04-15 23:06:39 +0200
committerGert Doering <gert@greenie.muc.de>2013-06-20 20:44:24 +0200
commitd0c4c442a44f85c18903b4edba9c1d726f6983c0 (patch)
treea4feeffb058b1ff9a10bfb7ab0a1e17a72789d1d /src/openvpn/init.c
parenta1010a849dc3642037eed17c88f73aa2fb162e4d (diff)
downloadopenvpn-d0c4c442a44f85c18903b4edba9c1d726f6983c0.tar.gz
openvpn-d0c4c442a44f85c18903b4edba9c1d726f6983c0.tar.xz
openvpn-d0c4c442a44f85c18903b4edba9c1d726f6983c0.zip
PATCHv3 Remove unused variables or put them to the defines they are being used in
Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1366059999-31731-1-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/7511 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/init.c')
-rw-r--r--src/openvpn/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
index cf0498d..fb14726 100644
--- a/src/openvpn/init.c
+++ b/src/openvpn/init.c
@@ -1205,7 +1205,6 @@ do_init_route_ipv6_list (const struct options *options,
struct env_set *es)
{
const char *gw = NULL;
- int dev = dev_type_enum (options->dev, options->dev_type);
int metric = -1; /* no metric set */
gw = options->ifconfig_ipv6_remote; /* default GW = remote end */