From d2f7a66fee4fa5e3b011866c0dcb30d77f20d4e5 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Wed, 8 May 2013 19:06:41 +0300 Subject: [PATCH] kms_flip: suppress uninitialized var warning Signed-off-by: Imre Deak Signed-off-by: Daniel Vetter --- 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) -- 2.7.4