From: Brian Paul Date: Fri, 23 Aug 2013 21:33:14 +0000 (-0600) Subject: swrast: init i0, i1 values to silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e7ac28ebfd309782185d44813f0f86659a680cf;p=mesa.git swrast: init i0, i1 values to silence warnings Reviewed-by: Chad Versace --- diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c index 0920a640c7f..312b9ce9bf7 100644 --- a/src/mesa/swrast/s_texfilter.c +++ b/src/mesa/swrast/s_texfilter.c @@ -274,6 +274,7 @@ linear_texel_locations(GLenum wrapMode, break; default: _mesa_problem(NULL, "Bad wrap mode"); + *i0 = *i1 = 0; u = 0.0F; break; }