Browse Source

"voided" unused arguments in server_post_handler().

grunfink 1 year ago
parent
commit
1aa8fe8573
1 changed files with 6 additions and 0 deletions
  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;