From: Andre Noll Date: Mon, 30 Apr 2018 18:38:18 +0000 (+0200) Subject: server: Remove incorrect __a_unused in com_ff() and com_jmp(). X-Git-Tag: v0.6.2~7 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=db26d4a2bd7cd1acb16aa2113784a86cf63fd8fa;p=paraslash.git server: Remove incorrect __a_unused in com_ff() and com_jmp(). These subcommands do use the command context pointer. --- diff --git a/command.c b/command.c index aac344bc..6db0c003 100644 --- a/command.c +++ b/command.c @@ -663,8 +663,7 @@ static int com_nomore(__a_unused struct command_context *cc, } EXPORT_SERVER_CMD_HANDLER(nomore); -static int com_ff(__a_unused struct command_context *cc, - struct lls_parse_result *lpr) +static int com_ff(struct command_context *cc, struct lls_parse_result *lpr) { long promille; int ret, backwards = 0; @@ -706,8 +705,7 @@ out: } EXPORT_SERVER_CMD_HANDLER(ff); -static int com_jmp(__a_unused struct command_context *cc, - struct lls_parse_result *lpr) +static int com_jmp(struct command_context *cc, struct lls_parse_result *lpr) { long unsigned int i; int ret;