mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix an unused-variable warning.
This commit is contained in:
parent
79c7625e38
commit
03563f4723
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user