Merge "visualizer: fix warnings due to uninitialized return values"
This commit is contained in:
commit
703444d058
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue