mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	ucm: Add ATTRIBUTE_UNUSED for unused parameters of execute_component_seq()
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@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
			
			
This commit is contained in:
		
							parent
							
								
									7e86c8c56f
								
							
						
					
					
						commit
						6ad2a9763d
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -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,
 | 
					static int execute_component_seq(snd_use_case_mgr_t *uc_mgr,
 | 
				
			||||||
				 struct component_sequence *cmpt_seq,
 | 
									 struct component_sequence *cmpt_seq,
 | 
				
			||||||
				 struct list_head *value_list1,
 | 
									 struct list_head *value_list1 ATTRIBUTE_UNUSED,
 | 
				
			||||||
				 struct list_head *value_list2,
 | 
									 struct list_head *value_list2 ATTRIBUTE_UNUSED,
 | 
				
			||||||
				 struct list_head *value_list3,
 | 
									 struct list_head *value_list3 ATTRIBUTE_UNUSED,
 | 
				
			||||||
				 char *cdev)
 | 
									 char *cdev)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct use_case_device *device = cmpt_seq->device;
 | 
						struct use_case_device *device = cmpt_seq->device;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue