qahw_api: fix compilation error
Fix compilation error on
sdxprairie.
Change-Id: I99e5bacf1fba158b2400e1517b26b85d0545467b
diff --git a/qahw_api/test/qahw_playback_test.c b/qahw_api/test/qahw_playback_test.c
index fba8ed5..305c186 100644
--- a/qahw_api/test/qahw_playback_test.c
+++ b/qahw_api/test/qahw_playback_test.c
@@ -612,6 +612,7 @@
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 @@
}
switch(params->filetype) {
- char kvpair[KV_PAIR_MAX_LENGTH] = {0};
case FILE_WMA:
case FILE_VORBIS:
case FILE_ALAC: