output/pulse: remove unnecessary initialization
This commit is contained in:
@@ -330,7 +330,6 @@ pulse_output_init(const config_param ¶m, Error &error)
|
|||||||
|
|
||||||
po->mixer = nullptr;
|
po->mixer = nullptr;
|
||||||
po->mainloop = nullptr;
|
po->mainloop = nullptr;
|
||||||
po->context = nullptr;
|
|
||||||
po->stream = nullptr;
|
po->stream = nullptr;
|
||||||
|
|
||||||
return &po->base;
|
return &po->base;
|
||||||
@@ -350,7 +349,6 @@ pulse_output_enable(AudioOutput *ao, Error &error)
|
|||||||
PulseOutput *po = (PulseOutput *)ao;
|
PulseOutput *po = (PulseOutput *)ao;
|
||||||
|
|
||||||
assert(po->mainloop == nullptr);
|
assert(po->mainloop == nullptr);
|
||||||
assert(po->context == nullptr);
|
|
||||||
|
|
||||||
/* create the libpulse mainloop and start the thread */
|
/* create the libpulse mainloop and start the thread */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user