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

[tor-commits] [tor/master] Fix an unused-variable warning.



commit 03563f47230d84aa492c32214b2b9da68bef27ea
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Feb 2 13:35:44 2015 -0500

    Fix an unused-variable warning.
---
 src/or/config.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index ae33a07..de0baa4 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -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);
     }

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