mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 15:12:24 +00:00
Remove dead code in pulse_open(wave_pulse.c) -- o is always null when jumping to unlock_and_fail. [Coverity]
This commit is contained in:
@@ -479,9 +479,6 @@ static int pulse_open(const char *device)
|
||||
|
||||
return PULSE_OK;
|
||||
unlock_and_fail:
|
||||
if (o)
|
||||
pa_operation_unref(o);
|
||||
|
||||
pa_threaded_mainloop_unlock(mainloop);
|
||||
fail:
|
||||
if (ret == PULSE_NO_CONNECTION) {
|
||||
|
||||
Reference in New Issue
Block a user