axfer: remove unused variable warnings

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2019-05-27 15:37:05 +02:00
parent 7a3ca6fe6d
commit 3aea4fedf9
3 changed files with 0 additions and 3 deletions

View File

@ -381,7 +381,6 @@ static int wave_parser_pre_process(struct container_context *cntr,
*format = format_maps[i].format;
*samples_per_frame = state->samples_per_frame;
*frames_per_second = state->frames_per_second;
phys_width /= 8;
*byte_count = state->byte_count;
return 0;

View File

@ -114,7 +114,6 @@ static int multiple_pre_process(struct mapper_context *mapper,
// configured to store one sample per frame.
if (mapper->type == MAPPER_TYPE_DEMUXER) {
for (i = 0; i < cntr_count; ++i) {
cntr = cntrs + i;
if (cntrs->samples_per_frame != 1)
return -EINVAL;
}

View File

@ -156,7 +156,6 @@ static int list_pcms(snd_pcm_stream_t direction)
filter = filters[direction];
n = hints;
for (n = hints; *n != NULL; ++n) {
io = snd_device_name_get_hint(*n, "IOID");
if (io != NULL && strcmp(io, filter) != 0) {