Merge "qahw_api: fix compilation error"

This commit is contained in:
Linux Build Service Account 2018-12-12 07:42:02 -08:00 committed by Gerrit - the friendly Code Review server
commit 1512cf1bfc
1 changed files with 1 additions and 1 deletions

View File

@ -612,6 +612,7 @@ void *start_stream_playback (void* stream_data)
bool read_complete_file = true; bool read_complete_file = true;
ssize_t bytes_to_read = 0; ssize_t bytes_to_read = 0;
int32_t latency; int32_t latency;
char kvpair[KV_PAIR_MAX_LENGTH] = {0};
memset(&drift_params, 0, sizeof(struct drift_data)); memset(&drift_params, 0, sizeof(struct drift_data));
@ -658,7 +659,6 @@ void *start_stream_playback (void* stream_data)
} }
switch(params->filetype) { switch(params->filetype) {
char kvpair[KV_PAIR_MAX_LENGTH] = {0};
case FILE_WMA: case FILE_WMA:
case FILE_VORBIS: case FILE_VORBIS:
case FILE_ALAC: case FILE_ALAC: