On Tue, 27 Dec 2016 11:08:58 +0100, mengdong.lin@xxxxxxxxxxxxxxx wrote: > > From: Mengdong Lin <mengdong.lin@xxxxxxxxxxxxxxx> > > To fix the following warnings: > > main.c: In function ‘execute_component_seq’: > main.c:489:24: warning: unused parameter ‘value_list1’ [-Wunused-parameter] > struct list_head *value_list1, > ^ > main.c:490:24: warning: unused parameter ‘value_list2’ [-Wunused-parameter] > struct list_head *value_list2, > ^ > main.c:491:24: warning: unused parameter ‘value_list3’ [-Wunused-parameter] > struct list_head *value_list3, > ^ > > Signed-off-by: Mengdong Lin <mengdong.lin@xxxxxxxxxxxxxxx> Applied this one. Thanks. Takashi > > diff --git a/src/ucm/main.c b/src/ucm/main.c > index 750e65d..38a5e81 100644 > --- a/src/ucm/main.c > +++ b/src/ucm/main.c > @@ -486,9 +486,9 @@ static int execute_sequence(snd_use_case_mgr_t *uc_mgr, > */ > static int execute_component_seq(snd_use_case_mgr_t *uc_mgr, > struct component_sequence *cmpt_seq, > - struct list_head *value_list1, > - struct list_head *value_list2, > - struct list_head *value_list3, > + struct list_head *value_list1 ATTRIBUTE_UNUSED, > + struct list_head *value_list2 ATTRIBUTE_UNUSED, > + struct list_head *value_list3 ATTRIBUTE_UNUSED, > char *cdev) > { > struct use_case_device *device = cmpt_seq->device; > -- > 2.7.4 > _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel