From b42732743d44feccacbaba671ab460b0a2d3ab4b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 29 Dec 2014 23:00:11 +0100 Subject: [PATCH] output/pulse: remove unnecessary initialization --- src/output/plugins/PulseOutputPlugin.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx index 3e50eac52..96c898ddb 100644 --- a/src/output/plugins/PulseOutputPlugin.cxx +++ b/src/output/plugins/PulseOutputPlugin.cxx @@ -330,7 +330,6 @@ pulse_output_init(const config_param ¶m, Error &error) po->mixer = nullptr; po->mainloop = nullptr; - po->context = nullptr; po->stream = nullptr; return &po->base; @@ -350,7 +349,6 @@ pulse_output_enable(AudioOutput *ao, Error &error) PulseOutput *po = (PulseOutput *)ao; assert(po->mainloop == nullptr); - assert(po->context == nullptr); /* create the libpulse mainloop and start the thread */