mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	ucm: return empty string for undefined "open" variables (arguments)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									5062565e82
								
							
						
					
					
						commit
						b67257e6fd
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -559,6 +559,8 @@ static char *rval_var(snd_use_case_mgr_t *uc_mgr, const char *id) | |||
| 	if (id[0] == '-') { | ||||
| 		ignore_not_found = true; | ||||
| 		id++; | ||||
| 	} else if (id[0] == '@') { | ||||
| 		ignore_not_found = true; | ||||
| 	} | ||||
| 	v = uc_mgr_get_variable(uc_mgr, id); | ||||
| 	if (v == NULL && ignore_not_found) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jaroslav Kysela
						Jaroslav Kysela