projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04e35cc
)
draw: silence uninitialized variable warning
author
Brian Paul
<brianp@vmware.com>
Fri, 19 Dec 2014 16:37:33 +0000
(09:37 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 5 Jan 2015 20:50:54 +0000
(13:50 -0700)
v2: move initialization of llvm_gs to declaration.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_gs.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_gs.c
b/src/gallium/auxiliary/draw/draw_gs.c
index 40f7ed352d97f4a98beb349218abb2bc97591fd0..6375d41295c24c88b1bce42c257b47f6485e8e5a 100644
(file)
--- 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;