From: Brian Paul Date: Thu, 1 Oct 2009 20:52:10 +0000 (-0600) Subject: gallium/util: silence uninitialized var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f291f2efebe6cbdc4ca61e9f05ad6949aede3b9;p=mesa.git gallium/util: silence uninitialized var warning --- diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.c b/src/gallium/auxiliary/util/u_gen_mipmap.c index 4e3d35f40e7..aa823aa218b 100644 --- a/src/gallium/auxiliary/util/u_gen_mipmap.c +++ b/src/gallium/auxiliary/util/u_gen_mipmap.c @@ -1427,6 +1427,7 @@ set_vertex_data(struct gen_mipmap_state *ctx, rz = -1.0f; break; default: + rx = ry = rz = 0.0f; assert(0); }