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; ^
This commit is contained in:
parent
2d2e94406c
commit
6e221a828f
1 changed files with 0 additions and 1 deletions
|
@ -89,7 +89,6 @@ static bool setup_device(void) {
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
int err;
|
int err;
|
||||||
HANDLE thread;
|
|
||||||
|
|
||||||
get_config_string(lookup_config(config_tree, "Device"), &device);
|
get_config_string(lookup_config(config_tree, "Device"), &device);
|
||||||
get_config_string(lookup_config(config_tree, "Interface"), &iface);
|
get_config_string(lookup_config(config_tree, "Interface"), &iface);
|
||||||
|
|
Loading…
Reference in a new issue