From 5e7ac28ebfd309782185d44813f0f86659a680cf Mon Sep 17 00:00:00 2001 From: Brian Paul <brianp@vmware.com> Date: Fri, 23 Aug 2013 15:33:14 -0600 Subject: swrast: init i0, i1 values to silence warnings Reviewed-by: Chad Versace <chad.versace@linux.intel.com> --- src/mesa/swrast/s_texfilter.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3