mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04: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 */
|
||||
static void stream_drain_complete(pa_stream*s, int success, void *userdata) {
|
||||
pa_operation *o;
|
||||
|
||||
if (!success) {
|
||||
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);
|
||||
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);
|
||||
else {
|
||||
if (verbose)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue