]> git.alsa-project.org Git - alsa-utils.git/commitdiff
aconnect: fix the verbose compilation warnings for latest gcc
authorJaroslav Kysela <perex@perex.cz>
Wed, 30 Aug 2023 10:53:16 +0000 (12:53 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 30 Aug 2023 10:53:16 +0000 (12:53 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
seq/aconnect/aconnect.c

index 582b454c2c2261797e64564eefc8b95f917e7f76..eeae4b5a456f93e52c6a13c49589dc1c7d232080 100644 (file)
@@ -193,7 +193,7 @@ static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action)
 }
 
 
-static void print_port(snd_seq_t *seq, snd_seq_client_info_t *cinfo,
+static void print_port(snd_seq_t *, snd_seq_client_info_t *cinfo,
                       snd_seq_port_info_t *pinfo, int count)
 {
        if (! count) {
@@ -247,8 +247,8 @@ static void print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo,
 /*
  * remove all (exported) connections
  */
-static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *cinfo,
-                             snd_seq_port_info_t *pinfo, int count)
+static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *,
+                             snd_seq_port_info_t *pinfo, int)
 {
        snd_seq_query_subscribe_t *query;
        snd_seq_port_info_t *port;