From: Vinson Lee Date: Fri, 15 Nov 2013 06:33:56 +0000 (-0800) Subject: i965: Initialize schedule_node::delay. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78fc159d68becdf4c04d35e3d21917ae45b839ba;p=mesa.git i965: Initialize schedule_node::delay. Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Paul Berry --- 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.