X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=b6dffbc988bda018e7d9adffc1b0ca96f42d2033;hb=5217c16db4babd64580c2fd7aa36180bb9bd838c;hp=10f7abce88f3e888e791280c14f273114d51049a;hpb=2d2e94406c5f595eff67a01ee6bb1190f77c37ff;p=tinc diff --git a/src/mingw/device.c b/src/mingw/device.c index 10f7abce..b6dffbc9 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -43,9 +43,6 @@ char *device = NULL; char *iface = NULL; static char *device_info = NULL; -static uint64_t device_total_in = 0; -static uint64_t device_total_out = 0; - extern char *myport; static void device_issue_read() { @@ -89,7 +86,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); @@ -235,8 +231,6 @@ static bool write_packet(vpn_packet_t *packet) { return false; } - device_total_out += packet->len; - return true; }