Merge "visualizer: fix warnings due to uninitialized return values"

This commit is contained in:
Linux Build Service Account 2017-05-05 11:24:59 -07:00 committed by Gerrit - the friendly Code Review server
commit 703444d058
1 changed files with 2 additions and 2 deletions

View File

@ -450,7 +450,7 @@ void *capture_thread_loop(void *arg)
__attribute__ ((visibility ("default")))
int visualizer_hal_start_output(audio_io_handle_t output, int pcm_id) {
int ret;
int ret = 0;
struct listnode *node;
ALOGV("%s output %d pcm_id %d", __func__, output, pcm_id);
@ -501,7 +501,7 @@ exit:
__attribute__ ((visibility ("default")))
int visualizer_hal_stop_output(audio_io_handle_t output, int pcm_id) {
int ret;
int ret = 0;
struct listnode *node;
struct listnode *fx_node;
output_context_t *out_ctxt;