[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Remove a pair of now-unused default-options arguments.



commit 475a1dc9be40b95922a45227ac03683914ceeea8
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Oct 22 14:06:02 2019 -0400

    Remove a pair of now-unused default-options arguments.
---
 src/test/test_config.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/test/test_config.c b/src/test/test_config.c
index ea5f3f538..abed6c259 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;
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits