From: Ilia Mirkin Date: Thu, 26 Mar 2015 23:33:01 +0000 (-0400) Subject: st/mesa: initialize have_fma in constructor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f95a6b2ff4237181fd7e9622e19e9aa0719a1f21;p=mesa.git st/mesa: initialize have_fma in constructor Spotted by Coverity. Signed-off-by: Ilia Mirkin Reviewed-by: Brian Paul --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index b6193269a9d..e97ab83f2cd 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -3465,6 +3465,7 @@ glsl_to_tgsi_visitor::glsl_to_tgsi_visitor() shader = NULL; options = NULL; have_sqrt = false; + have_fma = false; } glsl_to_tgsi_visitor::~glsl_to_tgsi_visitor()