From 50da19addf6666b96b77b55a1bf8f22b01ea0e73 Mon Sep 17 00:00:00 2001 From: thorkill Date: Thu, 2 Jul 2015 18:03:03 +0200 Subject: [PATCH] Removed unused variables. Found using clang -Wunused-variable --- src/sptps_speed.c | 5 ----- src/sptps_test.c | 3 --- src/tincctl.c | 1 - 3 files changed, 9 deletions(-) diff --git a/src/sptps_speed.c b/src/sptps_speed.c index d7332448..47a50fa9 100644 --- a/src/sptps_speed.c +++ b/src/sptps_speed.c @@ -28,11 +28,6 @@ #include "ecdsagen.h" #include "sptps.h" -static struct list_t *connection_list = NULL; -static char *logfilename = NULL; -static bool do_detach = false; -static struct timeval now; - static bool send_data(void *handle, uint8_t type, const void *data, size_t len) { int fd = *(int *)handle; send(fd, data, len, 0); diff --git a/src/sptps_test.c b/src/sptps_test.c index e8643603..2823400f 100644 --- a/src/sptps_test.c +++ b/src/sptps_test.c @@ -31,9 +31,6 @@ #include "utils.h" -static char *logfilename = NULL; -static bool do_detach = false; - static bool verbose; static bool readonly; static bool writeonly; diff --git a/src/tincctl.c b/src/tincctl.c index 0f396777..36c407f8 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -70,7 +70,6 @@ static int result; bool force = false; bool tty = true; bool confbasegiven = false; -static bool netnamegiven = false; char *scriptinterpreter = NULL; char *scriptextension = ""; static char *prompt;