From d7580eef7077a2b79d704d59a013201fd5603ac8 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Fri, 22 Jan 2016 20:43:10 +0000 Subject: [PATCH] Remove dead code in pulse_open(wave_pulse.c) -- o is always null when jumping to unlock_and_fail. [Coverity] --- src/libespeak-ng/wave_pulse.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libespeak-ng/wave_pulse.c b/src/libespeak-ng/wave_pulse.c index dde218ee..40ca983e 100644 --- a/src/libespeak-ng/wave_pulse.c +++ b/src/libespeak-ng/wave_pulse.c @@ -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) {