pulsecore: remove unused variable from cli_command_load()

This commit is contained in:
Marc-André Lureau 2009-02-17 22:07:57 +02:00 committed by Lennart Poettering
parent a252b61be1
commit 927e501920

View file

@ -401,7 +401,6 @@ static int pa_cli_command_info(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, pa_b
} }
static int pa_cli_command_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, pa_bool_t *fail) { static int pa_cli_command_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, pa_bool_t *fail) {
pa_module *m;
const char *name; const char *name;
pa_core_assert_ref(c); pa_core_assert_ref(c);
@ -414,7 +413,7 @@ static int pa_cli_command_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, pa_b
return -1; return -1;
} }
if (!(m = pa_module_load(c, name, pa_tokenizer_get(t, 2)))) { if (!pa_module_load(c, name, pa_tokenizer_get(t, 2))) {
pa_strbuf_puts(buf, "Module load failed.\n"); pa_strbuf_puts(buf, "Module load failed.\n");
return -1; return -1;
} }