commit f701501

default  ·  2024-01-11 17:55:09 +0000 UTC
parent 8868f7a
Silenced some unused argument warnings.
1 files changed,  +5, -0
+5, -0
 1@@ -2486,6 +2486,11 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
 2 int mastoapi_delete_handler(const xs_dict *req, const char *q_path,
 3                              char **body, int *b_size, char **ctype) {
 4 
 5+    (void)req;
 6+    (void)body;
 7+    (void)b_size;
 8+    (void)ctype;
 9+
10     if (!xs_startswith(q_path, "/api/v1/") && !xs_startswith(q_path, "/api/v2/"))
11         return 0;
12