summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2011-11-02 13:54:05 +0100
committerChristian König <deathsimple@vodafone.de>2011-11-03 13:52:00 +0100
commit8a7e645c9befb8578c8a571ccc951ed908d177ae (patch)
treebcee9f4c721d0d5335a386c63250adcf26e89a22
parentc6a302647200cb0bbc0d0d7680ad4e9fc5dd94bf (diff)
g3dvl: remove some stale variable increment
Incrementing "td" before initializing it is pointless and just leads to an uninitialized variable warning with MSVC. Signed-off-by: Christian König <deathsimple@vodafone.de>
-rw-r--r--src/gallium/auxiliary/vl/vl_mpeg12_decoder.c2
1 files changed, 1 insertions, 1 deletions
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];