mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	ucm: substitution - remove duplicate allow_empty assignment
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									cac5a62dcf
								
							
						
					
					
						commit
						485930ea5d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -303,7 +303,6 @@ __std:
 | 
			
		|||
		} else if (value[1] != '{') {
 | 
			
		||||
			goto __std;
 | 
			
		||||
		}
 | 
			
		||||
		allow_empty = false;
 | 
			
		||||
		fcn2 = NULL;
 | 
			
		||||
		MATCH_VARIABLE(value, "${OpenName}", rval_open_name, false);
 | 
			
		||||
		MATCH_VARIABLE(value, "${ConfTopDir}", rval_conf_topdir, false);
 | 
			
		||||
| 
						 | 
				
			
			@ -365,7 +364,8 @@ __rval:
 | 
			
		|||
			}
 | 
			
		||||
			strncpy(r, value, idsize);
 | 
			
		||||
			r[idsize] = '\0';
 | 
			
		||||
			uc_error("variable '%s' is not defined in this context!", r);
 | 
			
		||||
			uc_error("variable '%s' is %s in this context!", r,
 | 
			
		||||
				 rval ? "empty" : "not defined");
 | 
			
		||||
			err = -EINVAL;
 | 
			
		||||
			goto __error;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue