Module: Mesa Branch: master Commit: 1462114475709c9460a3cb0c58ae684c5843f5cd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1462114475709c9460a3cb0c58ae684c5843f5cd
Author: Brian Paul <[email protected]> Date: Thu Nov 10 15:55:13 2011 -0700 draw/llvm: silence uninitialized variable warnings --- src/gallium/auxiliary/draw/draw_llvm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 01659fe..296c8fd 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -1251,12 +1251,14 @@ draw_llvm_generate(struct draw_llvm *llvm, struct draw_llvm_variant *variant, fetch_count = LLVMGetParam(variant_func, 4); lp_build_name(fetch_elts, "fetch_elts"); lp_build_name(fetch_count, "fetch_count"); + start = count = NULL; } else { start = LLVMGetParam(variant_func, 3); count = LLVMGetParam(variant_func, 4); lp_build_name(start, "start"); lp_build_name(count, "count"); + fetch_elts = fetch_count = NULL; } /* _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
