draw: silence uninitialized variable warning
v2: move initialization of llvm_gs to declaration. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
04e35cc4aa
commit
d294365d06
|
@ -715,7 +715,7 @@ draw_create_geometry_shader(struct draw_context *draw,
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LLVM
|
#ifdef HAVE_LLVM
|
||||||
boolean use_llvm = draw->llvm != NULL;
|
boolean use_llvm = draw->llvm != NULL;
|
||||||
struct llvm_geometry_shader *llvm_gs;
|
struct llvm_geometry_shader *llvm_gs = NULL;
|
||||||
#endif
|
#endif
|
||||||
struct draw_geometry_shader *gs;
|
struct draw_geometry_shader *gs;
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
Loading…
Reference in New Issue