From 78fc159d68becdf4c04d35e3d21917ae45b839ba Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 14 Nov 2013 22:33:56 -0800 Subject: [PATCH] i965: Initialize schedule_node::delay. Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp index befea0a787d..39a5266d1c2 100644 --- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp +++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp @@ -608,6 +608,7 @@ schedule_node::schedule_node(backend_instruction *inst, this->parent_count = 0; this->unblocked_time = 0; this->cand_generation = 0; + this->delay = 0; /* We can't measure Gen6 timings directly but expect them to be much * closer to Gen7 than Gen4. -- 2.30.2