]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove a pair of now-unused default-options arguments.
authorNick Mathewson <nickm@torproject.org>
Tue, 22 Oct 2019 18:06:02 +0000 (14:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Oct 2019 18:24:03 +0000 (14:24 -0400)
src/test/test_config.c

index ea5f3f538dfa5716dfee09eaa13c63c57e8f34cb..abed6c2591e79b77c329905258cc01324111e489 100644 (file)
@@ -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;