From 4363d478f1f9ba33b954477f0ffd163baa3d12f0 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 16 Nov 2009 23:42:16 +0100 Subject: [PATCH 1/1] wma_afh: Kill an unused variable. --- wma_afh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wma_afh.c b/wma_afh.c index e78802ee..f0b73b29 100644 --- a/wma_afh.c +++ b/wma_afh.c @@ -201,7 +201,7 @@ static int wma_make_chunk_table(char *buf, size_t buf_size, int block_align, struct afh_info *afhi) { const uint8_t *f, *start = (uint8_t *)buf; - int i, j, frames_per_chunk; + int j, frames_per_chunk; size_t ct_size = 250; int ret, count = 0, num_frames, num_superframes; @@ -218,7 +218,6 @@ static int wma_make_chunk_table(char *buf, size_t buf_size, int block_align, / afhi->frequency; frames_per_chunk = num_frames / num_superframes; PARA_INFO_LOG("%d frames per chunk\n", frames_per_chunk); - i = 0; j = 1; FOR_EACH_FRAME(f, start, buf_size, block_align) { count += f[WMA_FRAME_SKIP] & 0x0f; -- 2.39.2