diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-22 14:06:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 14:24:03 -0400 |
commit | 475a1dc9be40b95922a45227ac03683914ceeea8 (patch) | |
tree | 2fb1f43f00bb1a62294e6a75a8464dc570898f80 /src | |
parent | 3dc0944acdd026e0834c0e3b2489566e3ad2c03e (diff) | |
download | tor-475a1dc9be40b95922a45227ac03683914ceeea8.tar.gz tor-475a1dc9be40b95922a45227ac03683914ceeea8.zip |
Remove a pair of now-unused default-options arguments.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_config.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index ea5f3f538d..abed6c2591 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -906,11 +906,9 @@ test_config_fix_my_family(void *arg) family3->next = NULL; or_options_t* options = options_new(); - or_options_t* defaults = options_new(); (void) arg; options_init(options); - options_init(defaults); options->MyFamily_lines = family; options_validate(NULL, options, &err) ; @@ -935,7 +933,6 @@ test_config_fix_my_family(void *arg) done: tor_free(err); or_options_free(options); - or_options_free(defaults); } 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* old_options = options; - or_options_t* default_options = options; char* message = NULL; int ret; |