summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/draw/draw_gs.c2
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;