From: Frank Lichtenheld <[email protected]> So we could enable -Werror for OpenBSD builds.
Change-Id: Ic971604beb1320d7b9d6121cd8e8519ccc1a7eb9 Signed-off-by: Frank Lichtenheld <[email protected]> Acked-by: MaxF <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1214 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1214 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): MaxF <[email protected]> diff --git a/src/openvpn/route.c b/src/openvpn/route.c index 156a99e..05a0c8f 100644 --- a/src/openvpn/route.c +++ b/src/openvpn/route.c @@ -2221,6 +2221,7 @@ device = r6->iface; gateway_needed = true; } + (void)device; /* unused on some platforms */ /* if we used a gateway on "add route", we also need to specify it on * delete, otherwise some OSes will refuse to delete the route _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
