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

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



commit 097286e47665a32e54249f809c23e190be9d57e8
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;
 }
 

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