aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-29 23:00:11 +0100
committerMax Kellermann <max@duempel.org>2014-12-29 23:00:11 +0100
commitb42732743d44feccacbaba671ab460b0a2d3ab4b (patch)
treea5759ab1f328bfb6ea48b71c8798b1213c7eebcc /src
parent99e6409a67de5f4af181ac11b2b9fd9b4515e3fa (diff)
downloadmpd-b42732743d44feccacbaba671ab460b0a2d3ab4b.tar.gz
mpd-b42732743d44feccacbaba671ab460b0a2d3ab4b.tar.xz
mpd-b42732743d44feccacbaba671ab460b0a2d3ab4b.zip
output/pulse: remove unnecessary initialization
Diffstat (limited to 'src')
-rw-r--r--src/output/plugins/PulseOutputPlugin.cxx2
1 files changed, 0 insertions, 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 &param, 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 */