diff options
author | teor <teor@torproject.org> | 2019-11-29 10:54:42 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-11-29 10:54:42 +1000 |
commit | f8f278f8c43358d5eb1d316008375313ddbe0fee (patch) | |
tree | b34ea744b69228645e92b2d5236067469d547c40 /src/feature/control/control_events.c | |
parent | 7a69b3aebc2d1aebc6851ac742c20acb574f78ea (diff) | |
download | tor-f8f278f8c43358d5eb1d316008375313ddbe0fee.tar.gz tor-f8f278f8c43358d5eb1d316008375313ddbe0fee.zip |
control: Remove an unused function return value
Cleanup after 31531.
Diffstat (limited to 'src/feature/control/control_events.c')
-rw-r--r-- | src/feature/control/control_events.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/feature/control/control_events.c b/src/feature/control/control_events.c index fb3410b898..82349bc6a2 100644 --- a/src/feature/control/control_events.c +++ b/src/feature/control/control_events.c @@ -1774,13 +1774,13 @@ control_event_guard(const char *nickname, const char *digest, * by SETCONF requests and RELOAD/SIGHUP signals. The <b>changes</b> are * a smartlist_t containing (key, value, ...) pairs in sequence. * <b>changes</b> can be NULL. */ -int +void control_event_conf_changed(const config_line_t *changes) { char *result; smartlist_t *lines; if (!EVENT_IS_INTERESTING(EVENT_CONF_CHANGED) || !changes) { - return 0; + return; } lines = smartlist_new(); for (const config_line_t *line = changes; line; line = line->next) { @@ -1796,7 +1796,6 @@ control_event_conf_changed(const config_line_t *changes) tor_free(result); SMARTLIST_FOREACH(lines, char *, cp, tor_free(cp)); smartlist_free(lines); - return 0; } /** We just generated a new summary of which countries we've seen clients |