modules: Remove dead code in position-event-sounds

ma is always NULL in fail path, discovered by coverity

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
Peter Meerwald 2013-12-18 17:12:25 +01:00
parent e8ea0b8a79
commit 67dc1a5a0b

View file

@ -144,7 +144,7 @@ static pa_hook_result_t sink_input_fixate_hook_callback(pa_core *core, pa_sink_i
}
int pa__init(pa_module*m) {
pa_modargs *ma = NULL;
pa_modargs *ma;
struct userdata *u;
pa_assert(m);
@ -165,9 +165,6 @@ int pa__init(pa_module*m) {
fail:
pa__done(m);
if (ma)
pa_modargs_free(ma);
return -1;
}