Explorar o código

Fix some unused-argument warnings

Nick Mathewson %!s(int64=10) %!d(string=hai) anos
pai
achega
097286e476
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/or/rendservice.c

+ 4 - 0
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;
 }