mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Use the 'thrd_success' constant when checking for tss_create result
This commit is contained in:
		
							parent
							
								
									bf4bb9fcc1
								
							
						
					
					
						commit
						a3c13db75d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1171,7 +1171,7 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
		goto error_exit_free_poll;
 | 
							goto error_exit_free_poll;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (tss_create(&impl->queue_tss_id, (tss_dtor_t)loop_queue_destroy) != 0) {
 | 
						if (tss_create(&impl->queue_tss_id, (tss_dtor_t)loop_queue_destroy) != thrd_success) {
 | 
				
			||||||
		res = -errno;
 | 
							res = -errno;
 | 
				
			||||||
		spa_log_error(impl->log, "%p: can't create tss: %m", impl);
 | 
							spa_log_error(impl->log, "%p: can't create tss: %m", impl);
 | 
				
			||||||
		goto error_exit_free_wakeup;
 | 
							goto error_exit_free_wakeup;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue