mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Remove a pair of now-unused default-options arguments.
This commit is contained in:
parent
3dc0944acd
commit
475a1dc9be
1 changed files with 0 additions and 4 deletions
|
@ -906,11 +906,9 @@ test_config_fix_my_family(void *arg)
|
||||||
family3->next = NULL;
|
family3->next = NULL;
|
||||||
|
|
||||||
or_options_t* options = options_new();
|
or_options_t* options = options_new();
|
||||||
or_options_t* defaults = options_new();
|
|
||||||
(void) arg;
|
(void) arg;
|
||||||
|
|
||||||
options_init(options);
|
options_init(options);
|
||||||
options_init(defaults);
|
|
||||||
options->MyFamily_lines = family;
|
options->MyFamily_lines = family;
|
||||||
|
|
||||||
options_validate(NULL, options, &err) ;
|
options_validate(NULL, options, &err) ;
|
||||||
|
@ -935,7 +933,6 @@ test_config_fix_my_family(void *arg)
|
||||||
done:
|
done:
|
||||||
tor_free(err);
|
tor_free(err);
|
||||||
or_options_free(options);
|
or_options_free(options);
|
||||||
or_options_free(defaults);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int n_hostname_01010101 = 0;
|
static int n_hostname_01010101 = 0;
|
||||||
|
@ -5640,7 +5637,6 @@ test_config_check_bridge_distribution_setting_not_a_bridge(void *arg)
|
||||||
{
|
{
|
||||||
or_options_t* options = get_options_mutable();
|
or_options_t* options = get_options_mutable();
|
||||||
or_options_t* old_options = options;
|
or_options_t* old_options = options;
|
||||||
or_options_t* default_options = options;
|
|
||||||
char* message = NULL;
|
char* message = NULL;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue