mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	tests: msg is undefined when _get_next() return != 1
This commit is contained in:
		
							parent
							
								
									42b1e163d7
								
							
						
					
					
						commit
						a1bb1548e6
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -39,7 +39,6 @@ static void test_create(struct pw_protocol_native_connection *conn)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	res = pw_protocol_native_connection_get_next(conn, &msg);
 | 
						res = pw_protocol_native_connection_get_next(conn, &msg);
 | 
				
			||||||
	spa_assert(res != 1);
 | 
						spa_assert(res != 1);
 | 
				
			||||||
	spa_assert(msg != NULL);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	res = pw_protocol_native_connection_get_fd(conn, 0);
 | 
						res = pw_protocol_native_connection_get_fd(conn, 0);
 | 
				
			||||||
	spa_assert(res == -ENOENT);
 | 
						spa_assert(res == -ENOENT);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue