mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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:
parent
e8ea0b8a79
commit
67dc1a5a0b
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue