diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-02-02 13:35:44 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-02 13:35:44 -0500 |
commit | 03563f47230d84aa492c32214b2b9da68bef27ea (patch) | |
tree | a5547d9725ab8ced2c0ad4c65f79c1cd185de130 /src/or | |
parent | 79c7625e38893920a80451ba420ee45ccd67f79b (diff) | |
download | tor-03563f47230d84aa492c32214b2b9da68bef27ea.tar.gz tor-03563f47230d84aa492c32214b2b9da68bef27ea.zip |
Fix an unused-variable warning.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index ae33a07996..de0baa40d9 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -4205,7 +4205,7 @@ find_torrc_filename(config_line_t *cmd_arg, * Upon failure, return NULL. */ static char * -load_torrc_from_stdin(config_line_t *cmd_arg) +load_torrc_from_stdin(void) { size_t sz_out; @@ -4360,7 +4360,7 @@ options_init_from_torrc(int argc, char **argv) (f_line != NULL && strcmp(f_line->value, "-") == 0); if (read_torrc_from_stdin) { - cf = load_torrc_from_stdin(cmdline_only_options); + cf = load_torrc_from_stdin(); } else { cf = load_torrc_from_disk(cmdline_only_options, 0); } |