mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	make gcc shut up a bit more
This commit is contained in:
		
							parent
							
								
									a5c9546fc7
								
							
						
					
					
						commit
						40f2e21aa7
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -45,6 +45,7 @@
 | 
			
		|||
int pa_oss_open(const char *device, int *mode, int* pcaps) {
 | 
			
		||||
    int fd = -1;
 | 
			
		||||
    int caps;
 | 
			
		||||
    char *t;
 | 
			
		||||
 | 
			
		||||
    pa_assert(device);
 | 
			
		||||
    pa_assert(mode);
 | 
			
		||||
| 
						 | 
				
			
			@ -92,7 +93,8 @@ int pa_oss_open(const char *device, int *mode, int* pcaps) {
 | 
			
		|||
 | 
			
		||||
success:
 | 
			
		||||
 | 
			
		||||
    pa_log_debug("capabilities:%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
 | 
			
		||||
    t = pa_sprintf_malloc(
 | 
			
		||||
            "%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
 | 
			
		||||
                 *pcaps & DSP_CAP_BATCH ? " BATCH" : "",
 | 
			
		||||
#ifdef DSP_CAP_BIND
 | 
			
		||||
                 *pcaps & DSP_CAP_BIND ? " BIND" : "",
 | 
			
		||||
| 
						 | 
				
			
			@ -140,6 +142,9 @@ success:
 | 
			
		|||
#endif
 | 
			
		||||
                 *pcaps & DSP_CAP_TRIGGER ? " TRIGGER" : "");
 | 
			
		||||
 | 
			
		||||
    pa_log_debug("capabilities:%s", t);
 | 
			
		||||
    pa_xfree(t);
 | 
			
		||||
 | 
			
		||||
    pa_make_fd_cloexec(fd);
 | 
			
		||||
 | 
			
		||||
    return fd;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue