mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	pacat: remove unused variable
This commit is contained in:
		
							parent
							
								
									4512a2ce9c
								
							
						
					
					
						commit
						67b0baecc4
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -336,7 +336,6 @@ static void context_drain_complete(pa_context*c, void *userdata) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Stream draining complete */
 | 
					/* Stream draining complete */
 | 
				
			||||||
static void stream_drain_complete(pa_stream*s, int success, void *userdata) {
 | 
					static void stream_drain_complete(pa_stream*s, int success, void *userdata) {
 | 
				
			||||||
    pa_operation *o;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!success) {
 | 
					    if (!success) {
 | 
				
			||||||
        fprintf(stderr, _("Failed to drain stream: %s\n"), pa_strerror(pa_context_errno(context)));
 | 
					        fprintf(stderr, _("Failed to drain stream: %s\n"), pa_strerror(pa_context_errno(context)));
 | 
				
			||||||
| 
						 | 
					@ -350,7 +349,7 @@ static void stream_drain_complete(pa_stream*s, int success, void *userdata) {
 | 
				
			||||||
    pa_stream_unref(stream);
 | 
					    pa_stream_unref(stream);
 | 
				
			||||||
    stream = NULL;
 | 
					    stream = NULL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!(o = pa_context_drain(context, context_drain_complete, NULL)))
 | 
					    if (!pa_context_drain(context, context_drain_complete, NULL))
 | 
				
			||||||
        pa_context_disconnect(context);
 | 
					        pa_context_disconnect(context);
 | 
				
			||||||
    else {
 | 
					    else {
 | 
				
			||||||
        if (verbose)
 | 
					        if (verbose)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue