From 6c05bf082b1ce9acfc0ebb5c6f32c2ece41c7f80 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 2 Jan 2011 16:59:42 +0100 Subject: [PATCH] Remove unused variables. --- src/mingw/device.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/mingw/device.c b/src/mingw/device.c index cbaa19e5..2c82b3c9 100644 --- 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); -- 2.20.1