summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-02-02 13:35:44 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-02 13:35:44 -0500
commit03563f47230d84aa492c32214b2b9da68bef27ea (patch)
treea5547d9725ab8ced2c0ad4c65f79c1cd185de130 /src/or
parent79c7625e38893920a80451ba420ee45ccd67f79b (diff)
downloadtor-03563f47230d84aa492c32214b2b9da68bef27ea.tar.gz
tor-03563f47230d84aa492c32214b2b9da68bef27ea.zip
Fix an unused-variable warning.
Diffstat (limited to 'src/or')
-rw-r--r--src/or/config.c4
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);
}