mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	fix various warnings
See also ALSA bug#1689
This commit is contained in:
		
							parent
							
								
									8c9e4114a2
								
							
						
					
					
						commit
						57eb3145b8
					
				
					 5 changed files with 10 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -308,7 +308,7 @@ static int snd_pcm_hook_add_conf(snd_pcm_t *pcm, snd_config_t *root, snd_config_
 | 
			
		|||
	snd_config_t *type = NULL, *args = NULL;
 | 
			
		||||
	snd_config_iterator_t i, next;
 | 
			
		||||
	int (*install_func)(snd_pcm_t *pcm, snd_config_t *args) = NULL;
 | 
			
		||||
	void *h;
 | 
			
		||||
	void *h = NULL;
 | 
			
		||||
	if (snd_config_get_type(conf) != SND_CONFIG_TYPE_COMPOUND) {
 | 
			
		||||
		SNDERR("Invalid hook definition");
 | 
			
		||||
		return -EINVAL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue