diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-22 09:56:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-22 09:56:54 -0400 |
commit | ac3fdb74c20cd3b52e5fdfa19b247b2edff9cb6e (patch) | |
tree | 62c8f6d611e08139768501d7101605a6aaa1f3e4 /src | |
parent | 122eab78d988728f2c71b4fdcc98e996409ff4b2 (diff) | |
download | tor-ac3fdb74c20cd3b52e5fdfa19b247b2edff9cb6e.tar.gz tor-ac3fdb74c20cd3b52e5fdfa19b247b2edff9cb6e.zip |
Remove unused chosen_scheduler_type variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/scheduler.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c index d17d165112..cc01611226 100644 --- a/src/or/scheduler.c +++ b/src/or/scheduler.c @@ -227,7 +227,6 @@ scheduler_evt_callback(evutil_socket_t fd, short events, void *arg) static void select_scheduler(void) { - const char *chosen_sched_type = NULL; scheduler_t *new_scheduler = NULL; #ifdef TOR_UNIT_TESTS @@ -246,7 +245,6 @@ select_scheduler(void) switch (*type) { case SCHEDULER_VANILLA: new_scheduler = get_vanilla_scheduler(); - chosen_sched_type = "Vanilla"; goto end; case SCHEDULER_KIST: if (!scheduler_can_use_kist()) { @@ -264,11 +262,9 @@ select_scheduler(void) continue; } new_scheduler = get_kist_scheduler(); - chosen_sched_type = "KIST"; scheduler_kist_set_full_mode(); goto end; case SCHEDULER_KIST_LITE: - chosen_sched_type = "KISTLite"; new_scheduler = get_kist_scheduler(); scheduler_kist_set_lite_mode(); goto end; |