Remove unused variables.
This commit is contained in:
parent
6a51d89cf7
commit
6c05bf082b
1 changed files with 1 additions and 9 deletions
|
@ -95,17 +95,9 @@ bool setup_device(void) {
|
||||||
|
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
int sock, err;
|
int err;
|
||||||
HANDLE thread;
|
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, "Device"), &device);
|
||||||
get_config_string(lookup_config(config_tree, "Interface"), &iface);
|
get_config_string(lookup_config(config_tree, "Interface"), &iface);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue