]> git.ipfire.org Git - thirdparty/openvpn.git/commit
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 22:17:50 +0000 (00:17 +0200)
commit3c4e2a39de509bb445a86fba9573f07880ac541c
tree533885ae9b6b2f51b7d35b9e85a84c45908ce85e
parente12d5e35d56103357301d28e3f9ee0468e306bb1
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>
(cherry picked from commit 22e75ca1a88b83e83a12b7d7d0095651f547411d)
src/openvpn/route.c