[tor-commits] [tor/master] Fix some unused-argument warnings

nickm at torproject.org nickm at torproject.org
Fri Jan 30 19:48:00 UTC 2015


commit 097286e47665a32e54249f809c23e190be9d57e8
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Jan 30 14:47:56 2015 -0500

    Fix some unused-argument warnings
---
 src/or/rendservice.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 28d922a..6ae569c 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -3503,12 +3503,16 @@ set_unix_port(edge_connection_t *conn, rend_service_port_config_t *p)
 static int
 set_unix_port(edge_connection_t *conn, rend_service_port_config_t *p)
 {
+  (void) conn;
+  (void) p;
   return -ENOSYS;
 }
 
 static int
 add_unix_port(smartlist_t *ports, rend_service_port_config_t *p)
 {
+  (void) ports;
+  (void) p;
   return -ENOSYS;
 }
 



More information about the tor-commits mailing list