axfer: use ATTRIBUTE_UNUSED instead remove argument name
We need to support older compilers than GCC 11.
Link: https://github.com/alsa-project/alsa-utils/issues/233
Fixes: ad5a1c0 ("axfer: fix the verbose compilation warnings for latest gcc")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
e56cf3bcb0
commit
a90faa2dd6
10 changed files with 23 additions and 21 deletions
|
|
@ -60,7 +60,7 @@ static const struct option l_opts[] = {
|
|||
};
|
||||
|
||||
static int xfer_libasound_init(struct xfer_context *xfer,
|
||||
snd_pcm_stream_t)
|
||||
snd_pcm_stream_t stream ATTRIBUTE_UNUSED)
|
||||
{
|
||||
struct libasound_state *state = xfer->private_data;
|
||||
int err;
|
||||
|
|
@ -887,7 +887,7 @@ static void xfer_libasound_destroy(struct xfer_context *xfer)
|
|||
state->log = NULL;
|
||||
}
|
||||
|
||||
static void xfer_libasound_help(struct xfer_context *)
|
||||
static void xfer_libasound_help(struct xfer_context *xfer ATTRIBUTE_UNUSED)
|
||||
{
|
||||
printf(
|
||||
" [BASICS]\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue