From: Dave Airlie Date: Mon, 1 Sep 2014 23:51:56 +0000 (+1000) Subject: st_glsl_to_tgsi: init have_sqrt field. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f6872d012e66b11b64179cd7c214d10d4ae55cd;p=mesa.git st_glsl_to_tgsi: init have_sqrt field. Coverity reported this. Signed-off-by: Dave Airlie --- 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()