projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a51d89
)
Remove unused variables.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 2 Jan 2011 15:59:42 +0000
(16:59 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 2 Jan 2011 15:59:42 +0000
(16:59 +0100)
src/mingw/device.c
patch
|
blob
|
history
diff --git
a/src/mingw/device.c
b/src/mingw/device.c
index cbaa19e51d2296a3243ee1b1bebbb92ac467e52f..2c82b3c9018256c91a514a5da085f6761dd133c4 100644
(file)
--- a/
src/mingw/device.c
+++ b/
src/mingw/device.c
@@
-95,17
+95,9
@@
bool setup_device(void) {
bool found = false;
- int
sock,
err;
+ int err;
HANDLE thread;
- struct addrinfo *ai;
- struct addrinfo hint = {
- .ai_family = AF_UNSPEC,
- .ai_socktype = SOCK_STREAM,
- .ai_protocol = IPPROTO_TCP,
- .ai_flags = 0,
- };
-
get_config_string(lookup_config(config_tree, "Device"), &device);
get_config_string(lookup_config(config_tree, "Interface"), &iface);