Module: Mesa
Branch: mesa_7_6_branch
Commit: 0f291f2efebe6cbdc4ca61e9f05ad6949aede3b9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f291f2efebe6cbdc4ca61e9f05ad6949aede3b9

Author: Brian Paul <[email protected]>
Date:   Thu Oct  1 14:52:10 2009 -0600

gallium/util: silence uninitialized var warning

---

 src/gallium/auxiliary/util/u_gen_mipmap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.c 
b/src/gallium/auxiliary/util/u_gen_mipmap.c
index 4e3d35f..aa823aa 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);
          }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to