From 998f62573b33a013e899c7efb33c2f172df10445 Mon Sep 17 00:00:00 2001 From: Josh Kirsch Date: Mon, 19 Nov 2018 15:41:27 -0800 Subject: [PATCH] qahw_api: fix compilation error Fix compilation error on sdxprairie. Change-Id: I99e5bacf1fba158b2400e1517b26b85d0545467b --- qahw_api/test/qahw_playback_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qahw_api/test/qahw_playback_test.c b/qahw_api/test/qahw_playback_test.c index fba8ed56..305c186c 100644 --- a/qahw_api/test/qahw_playback_test.c +++ b/qahw_api/test/qahw_playback_test.c @@ -612,6 +612,7 @@ void *start_stream_playback (void* stream_data) bool read_complete_file = true; ssize_t bytes_to_read = 0; int32_t latency; + char kvpair[KV_PAIR_MAX_LENGTH] = {0}; memset(&drift_params, 0, sizeof(struct drift_data)); @@ -658,7 +659,6 @@ void *start_stream_playback (void* stream_data) } switch(params->filetype) { - char kvpair[KV_PAIR_MAX_LENGTH] = {0}; case FILE_WMA: case FILE_VORBIS: case FILE_ALAC: