diff options
| author | 2024-01-11 18:55:09 +0100 | |
|---|---|---|
| committer | 2024-01-11 18:55:09 +0100 | |
| commit | f7015019d338a4514f6b3354adf3abbaee67da88 (patch) | |
| tree | 02b753c834e32533894b87291c9460ebe9e5ed23 | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-f7015019d338a4514f6b3354adf3abbaee67da88.tar.gz snac2-f7015019d338a4514f6b3354adf3abbaee67da88.tar.xz snac2-f7015019d338a4514f6b3354adf3abbaee67da88.zip | |
Silenced some unused argument warnings.
| -rw-r--r-- | mastoapi.c | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -2486,6 +2486,11 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path, | |||
| 2486 | int mastoapi_delete_handler(const xs_dict *req, const char *q_path, | 2486 | int mastoapi_delete_handler(const xs_dict *req, const char *q_path, |
| 2487 | char **body, int *b_size, char **ctype) { | 2487 | char **body, int *b_size, char **ctype) { |
| 2488 | 2488 | ||
| 2489 | (void)req; | ||
| 2490 | (void)body; | ||
| 2491 | (void)b_size; | ||
| 2492 | (void)ctype; | ||
| 2493 | |||
| 2489 | if (!xs_startswith(q_path, "/api/v1/") && !xs_startswith(q_path, "/api/v2/")) | 2494 | if (!xs_startswith(q_path, "/api/v1/") && !xs_startswith(q_path, "/api/v2/")) |
| 2490 | return 0; | 2495 | return 0; |
| 2491 | 2496 | ||