mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	alsa-mixer: Add a couple of assertions
I checked the code to ensure that the assertions hold currently.
This commit is contained in:
		
							parent
							
								
									0f2840f4c6
								
							
						
					
					
						commit
						2613e4c747
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -4530,10 +4530,9 @@ void pa_alsa_path_set_add_ports(
 | 
			
		|||
    pa_alsa_path *path;
 | 
			
		||||
    void *state;
 | 
			
		||||
 | 
			
		||||
    pa_assert(ps);
 | 
			
		||||
    pa_assert(ports);
 | 
			
		||||
 | 
			
		||||
    if (!ps)
 | 
			
		||||
        return;
 | 
			
		||||
    pa_assert(core);
 | 
			
		||||
 | 
			
		||||
    PA_HASHMAP_FOREACH(path, ps->paths, state) {
 | 
			
		||||
        if (!path->settings || !path->settings->next) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue