Просмотр исходного кода

"voided" unused arguments in server_post_handler().

grunfink 1 год назад
Родитель
Сommit
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;
 
+    (void)payload;
+    (void)p_size;
+    (void)body;
+    (void)b_size;
+    (void)ctype;
+
     if (strcmp(q_path, "/webmention-hook") == 0) {
         status = HTTP_STATUS_BAD_REQUEST;