vc4: Correct typo setting 'handled_qinst_cond'
authorRhys Kidd <rhyskidd@gmail.com>
Sat, 13 Feb 2016 18:21:15 +0000 (13:21 -0500)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 01:13:52 +0000 (17:13 -0800)
commitc75ced362319ddb27daa137b10da61373ef5c485
tree46fca9c16fccea39564c03d90d0b8e452d6446bf
parent655fa0f46531a15b6fb0e31486e305e518100c66
vc4: Correct typo setting 'handled_qinst_cond'

Variable was previously always set to true. Accordingly, the later
assert() served no active purpose.

Found with GCC warning and code inspection:

mesa/src/gallium/drivers/vc4/vc4_qpu_emit.c: In function'vc4_generate_code':
mesa/src/gallium/drivers/vc4/vc4_qpu_emit.c:315:22: warning: variable 'handled_qinst_cond' set but not used [-Wunused-but-set-variable]
                 bool handled_qinst_cond = true;
                      ^

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/vc4/vc4_qpu_emit.c