From: Andre Noll Date: Mon, 16 Nov 2009 22:42:16 +0000 (+0100) Subject: wma_afh: Kill an unused variable. X-Git-Tag: v0.4.1~18 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=4363d478f1f9ba33b954477f0ffd163baa3d12f0;p=paraslash.git wma_afh: Kill an unused variable. --- 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;