From: Etienne Dechamps Date: Sat, 12 Jul 2014 11:57:11 +0000 (+0100) Subject: Remove unused variable in TAP-Win32 setup_device(). X-Git-Tag: release-1.1pre11~63^2~2 X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;h=6e221a828f87a511aecee9d9263a1db0836701c4;hp=2d2e94406c5f595eff67a01ee6bb1190f77c37ff;p=tinc Remove unused variable in TAP-Win32 setup_device(). This fixes the following compiler warning when building for Windows: mingw/device.c: In function ‘setup_device’: mingw/device.c:92:9: error: unused variable ‘thread’ [-Werror=unused-variable] HANDLE thread; ^ --- diff --git a/src/mingw/device.c b/src/mingw/device.c index 10f7abce..5e449d50 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -89,7 +89,6 @@ static bool setup_device(void) { bool found = false; int err; - HANDLE thread; get_config_string(lookup_config(config_tree, "Device"), &device); get_config_string(lookup_config(config_tree, "Interface"), &iface);