summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-10 15:55:13 -0700
committerBrian Paul <[email protected]>2011-11-10 16:00:46 -0700
commit1462114475709c9460a3cb0c58ae684c5843f5cd (patch)
treec908117bac02219c26a0d0203906f4c32380c99b /src/gallium/auxiliary/draw
parentfe5ba5da7eaf5b243f83100890d483ada1ebb285 (diff)
draw/llvm: silence uninitialized variable warnings
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r--src/gallium/auxiliary/draw/draw_llvm.c2
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 01659fe76a1..296c8fdef41 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;
}
/*