kms_flip: suppress uninitialized var warning

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Imre Deak 2013-05-08 19:06:41 +03:00 committed by Daniel Vetter
parent cc6c254ae9
commit d2f7a66fee

View File

@ -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)