astc_sliced_3d: Remove extra block_dims increment.
commit4eb43934bfc3e8ebaff685cc2ef2a5d2ef3c371f
authorVinson Lee <vlee@freedesktop.org>
Tue, 9 Aug 2016 00:04:20 +0000 (8 17:04 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 9 Aug 2016 23:05:24 +0000 (9 16:05 -0700)
treecca0b60c71c4a41e486dfded639de101accb771a
parent9887e6be15695b8f69fb7fe9b8facc8ff28381a9
astc_sliced_3d: Remove extra block_dims increment.

Fix for-loop-analysis warning.

khr_compressed_astc-sliced-3d-miptree.c:313:3: warning: variable 'block_dims' is incremented both in the loop header
      and in the loop body [-Wfor-loop-analysis]
                block_dims++;
                ^
khr_compressed_astc-sliced-3d-miptree.c:277:50: note: incremented here
        for ( ; block_dims < ARRAY_SIZE(block_dim_str); block_dims++) {
                                                        ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
tests/spec/khr_texture_compression_astc/khr_compressed_astc-sliced-3d-miptree.c