mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	ucm: config - change the in-place include evaluation order
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									9c88ead1bb
								
							
						
					
					
						commit
						f33e596fa6
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -369,6 +369,10 @@ int uc_mgr_evaluate_inplace(snd_use_case_mgr_t *uc_mgr,
 | 
			
		|||
		err2 = evaluate_include(uc_mgr, cfg);
 | 
			
		||||
		if (err2 < 0)
 | 
			
		||||
			return err2;
 | 
			
		||||
		/* include may define another variables */
 | 
			
		||||
		/* conditions may depend on them */
 | 
			
		||||
		if (err2 == 0)
 | 
			
		||||
			continue;
 | 
			
		||||
		err3 = evaluate_condition(uc_mgr, cfg);
 | 
			
		||||
		if (err3 < 0)
 | 
			
		||||
			return err3;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue