mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Silenced some unused argument warnings.
This commit is contained in:
parent
8868f7a231
commit
f7015019d3
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue