mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez: avoid some compiler warnings
This commit is contained in:
		
							parent
							
								
									a1be639894
								
							
						
					
					
						commit
						d9b742cfda
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -506,7 +506,7 @@ static void media_on_ready_read(struct spa_source *source)
 | 
			
		|||
	int32_t size_read, decoded;
 | 
			
		||||
	uint32_t avail;
 | 
			
		||||
	uint64_t dt;
 | 
			
		||||
	uint64_t now;
 | 
			
		||||
	uint64_t now = 0;
 | 
			
		||||
 | 
			
		||||
	/* make sure the source is an input */
 | 
			
		||||
	if ((source->rmask & SPA_IO_IN) == 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -97,7 +97,7 @@ static void sco_io_on_ready(struct spa_source *source)
 | 
			
		|||
 | 
			
		||||
	if (SPA_FLAG_IS_SET(source->rmask, SPA_IO_IN)) {
 | 
			
		||||
		int res;
 | 
			
		||||
		uint64_t rx_time;
 | 
			
		||||
		uint64_t rx_time = 0;
 | 
			
		||||
 | 
			
		||||
	read_again:
 | 
			
		||||
		res = spa_bt_recvmsg(&io->recv, io->read_buffer, SPA_MIN(io->read_mtu, MAX_MTU), &rx_time);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue