diff options
author | Brian Paul <[email protected]> | 2014-12-19 09:37:33 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-01-05 13:50:54 -0700 |
commit | d294365d061626cf5f6a2b04c4cde9455093fea0 (patch) | |
tree | 7253dde5411659dab427c6ae3df27809e28da9bc /src/gallium/auxiliary | |
parent | 04e35cc4aac019fbf6ac5ea8f6d772bb6cacea8d (diff) |
draw: silence uninitialized variable warning
v2: move initialization of llvm_gs to declaration.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index 40f7ed352d9..6375d41295c 100644 --- a/src/gallium/auxiliary/draw/draw_gs.c +++ b/src/gallium/auxiliary/draw/draw_gs.c @@ -715,7 +715,7 @@ draw_create_geometry_shader(struct draw_context *draw, { #ifdef HAVE_LLVM boolean use_llvm = draw->llvm != NULL; - struct llvm_geometry_shader *llvm_gs; + struct llvm_geometry_shader *llvm_gs = NULL; #endif struct draw_geometry_shader *gs; unsigned i; |