From 8a7e645c9befb8578c8a571ccc951ed908d177ae Mon Sep 17 00:00:00 2001 From: Christian König Date: Wed, 2 Nov 2011 13:54:05 +0100 Subject: g3dvl: remove some stale variable increment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Incrementing "td" before initializing it is pointless and just leads to an uninitialized variable warning with MSVC. Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c index 7e7fa994b26..d4b8ae0417a 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c @@ -340,7 +340,7 @@ UploadYcbcrBlocks(struct vl_mpeg12_decoder *dec, intra = mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA ? 1 : 0; for (y = 0; y < 2; ++y) { - for (x = 0; x < 2; ++x, ++tb) { + for (x = 0; x < 2; ++x) { if (mb->coded_block_pattern & const_empty_block_mask_420[0][y][x]) { struct vl_ycbcr_block *stream = buf->ycbcr_stream[0]; -- cgit v1.2.3