소스 검색

"voided" unused arguments in server_post_handler().

grunfink 1 년 전
부모
커밋
1aa8fe8573
1개의 변경된 파일과 6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      httpd.c

+ 6 - 0
httpd.c

@@ -380,6 +380,12 @@ int server_post_handler(const xs_dict *req, const char *q_path,
 {
 {
     int status = 0;
     int status = 0;
 
 
+    (void)payload;
+    (void)p_size;
+    (void)body;
+    (void)b_size;
+    (void)ctype;
+
     if (strcmp(q_path, "/webmention-hook") == 0) {
     if (strcmp(q_path, "/webmention-hook") == 0) {
         status = HTTP_STATUS_BAD_REQUEST;
         status = HTTP_STATUS_BAD_REQUEST;