From 7f6872d012e66b11b64179cd7c214d10d4ae55cd Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 2 Sep 2014 09:51:56 +1000 Subject: [PATCH] st_glsl_to_tgsi: init have_sqrt field. Coverity reported this. Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 7c2f0fca03c..b338a9836ae 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -3172,6 +3172,7 @@ glsl_to_tgsi_visitor::glsl_to_tgsi_visitor() shader_program = NULL; shader = NULL; options = NULL; + have_sqrt = false; } glsl_to_tgsi_visitor::~glsl_to_tgsi_visitor() -- 2.30.2