Ver código fonte

"voided" unused arguments in server_post_handler().

grunfink 1 ano atrás
pai
commit
1aa8fe8573
1 arquivos alterados com 6 adições e 0 exclusões
  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;