]> git.ipfire.org Git - thirdparty/openvpn.git/commit
tun.c on WIN32: remove more unused variables
authorSelva Nair <selva.nair@gmail.com>
Sat, 3 Apr 2021 17:24:03 +0000 (13:24 -0400)
committerGert Doering <gert@greenie.muc.de>
Sun, 4 Apr 2021 09:04:00 +0000 (11:04 +0200)
commit165cda3169a860186e0446927e80986c31a837ca
tree5c88f181dcfcc7543ae4aa30d26334b65f891484
parente2acfad40c0d79ce7fd431c380d7466d383bcefa
tun.c on WIN32: remove more unused variables

Fixes:
  tun.c: In function ‘do_ifconfig_ipv4’:
  tun.c:1217:17: warning: variable ‘ifconfig_remote_netmask’ set but not
  used [-Wunused-but-set-variable]
     const char *ifconfig_remote_netmask = NULL;

  tun.c:1213:10: warning: unused variable ‘tun’ [-Wunused-variable]
     bool tun = is_tun_p2p(tt);

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20210403172403.9452-1-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22019.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/tun.c