diff options
author | Brian Paul <[email protected]> | 2017-04-05 13:53:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-07 13:46:44 -0600 |
commit | c77c381fae21d26966d9072ce61fa3879eee8751 (patch) | |
tree | 7b819adea27d62f3e40e485b4adff84b37902baf /src/gallium | |
parent | 16bd2c6d04b0a80f3808266fa530dcfd219d5c9d (diff) |
gallivm: init vars to silence gcc warnings
Silence warnings about using possibly uninitialized values.
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.c b/src/gallium/auxiliary/gallivm/lp_bld_sample.c index a4b3a7b8348..a1dc61d40f6 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.c @@ -1412,8 +1412,8 @@ lp_build_unnormalized_coords(struct lp_build_sample_context *bld, { const unsigned dims = bld->dims; LLVMValueRef width; - LLVMValueRef height; - LLVMValueRef depth; + LLVMValueRef height = NULL; + LLVMValueRef depth = NULL; lp_build_extract_image_sizes(bld, &bld->float_size_bld, |