mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: small cleanups
Initialize result variable. Use strncpy to avoid warnings about using non-NULL terminaded strings.
This commit is contained in:
		
							parent
							
								
									01cb3fa862
								
							
						
					
					
						commit
						469b7b0148
					
				
					 7 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -715,7 +715,7 @@ static int impl_node_port_set_param(void *object,
 | 
			
		|||
				    uint32_t id, uint32_t flags,
 | 
			
		||||
				    const struct spa_pod *param)
 | 
			
		||||
{
 | 
			
		||||
	int res;
 | 
			
		||||
	int res = 0;
 | 
			
		||||
	struct impl *this = object;
 | 
			
		||||
	struct port *port;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue