[Intel-gfx] [i-g-t PATCH v4 1/4] kms_flip: suppress uninitialized var warning

Imre Deak imre.deak at intel.com
Wed May 8 18:06:41 CEST 2013


Signed-off-by: Imre Deak <imre.deak at intel.com>
---
 tests/kms_flip.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 39f0043..dc29e9d 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -649,7 +649,7 @@ static unsigned int run_test_step(struct test_output *o)
 	bool do_vblank;
 	struct vblank_reply vbl_reply;
 	unsigned int target_seq;
-	uint32_t handle;
+	uint32_t handle = 0;	/* Suppress GCC warning */
 
 	target_seq = o->vblank_state.seq_step;
 	if (o->flags & TEST_VBLANK_ABSOLUTE)
-- 
1.7.10.4




More information about the Intel-gfx mailing list