]> git.ipfire.org Git - thirdparty/openvpn.git/commit - src/openvpn/route.c
route: avoid definition of unused variables in certain configurations
authorAntonio Quartulli <antonio@openvpn.net>
Wed, 16 Aug 2017 12:55:04 +0000 (20:55 +0800)
committerDavid Sommerseth <davids@openvpn.net>
Wed, 6 Sep 2017 19:39:11 +0000 (21:39 +0200)
commit22e75ca1a88b83e83a12b7d7d0095651f547411d
tree849e76df29884a8a0a81bd3aa70c2393466833ab
parent4a05f15c9aafe314ae4d3642813ebf234c09276e
route: avoid definition of unused variables in certain configurations

Although this patch adds more ifdefs, this is an easy
fix towards a no-warning-build process.

A proper cleanup should be carried out later on route.c.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Reviewed-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <20170816125504.21181-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15272.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
src/openvpn/route.c