summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-01-11 18:55:09 +0100
committerdefault <nobody@localhost>2024-01-11 18:55:09 +0100
commitf7015019d338a4514f6b3354adf3abbaee67da88 (patch)
tree02b753c834e32533894b87291c9460ebe9e5ed23 /mastoapi.c
parent8868f7a231d0b2f3470484049e71a69b4710f8ab (diff)
Silenced some unused argument warnings.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mastoapi.c b/mastoapi.c
index b5deb23..a1b2c26 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -2486,6 +2486,11 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
int mastoapi_delete_handler(const xs_dict *req, const char *q_path,
char **body, int *b_size, char **ctype) {
+ (void)req;
+ (void)body;
+ (void)b_size;
+ (void)ctype;
+
if (!xs_startswith(q_path, "/api/v1/") && !xs_startswith(q_path, "/api/v2/"))
return 0;