projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d2e944
)
Remove unused variable in TAP-Win32 setup_device().
author
Etienne Dechamps
<etienne@edechamps.fr>
Sat, 12 Jul 2014 11:57:11 +0000
(12:57 +0100)
committer
Etienne Dechamps
<etienne@edechamps.fr>
Sat, 12 Jul 2014 12:34:19 +0000
(13:34 +0100)
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;
^
src/mingw/device.c
patch
|
blob
|
history
diff --git
a/src/mingw/device.c
b/src/mingw/device.c
index
10f7abc
..
5e449d5
100644
(file)
--- 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);