소스 검색

Fix some unused-argument warnings

Nick Mathewson 10 년 전
부모
커밋
097286e476
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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;
 }