Răsfoiți Sursa

"voided" unused arguments in server_post_handler().

grunfink 1 an în urmă
părinte
comite
1aa8fe8573
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  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;