From: Brian Paul Date: Tue, 22 Jul 2008 23:38:55 +0000 (-0600) Subject: mesa: fix uninitialized var X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb3422a241d7483c108f05290f966ffdbd219c3f;p=mesa.git mesa: fix uninitialized var --- diff --git a/src/mesa/shader/slang/slang_compile_struct.c b/src/mesa/shader/slang/slang_compile_struct.c index 97a34d24fe0..96bdb1f4910 100644 --- a/src/mesa/shader/slang/slang_compile_struct.c +++ b/src/mesa/shader/slang/slang_compile_struct.c @@ -115,6 +115,7 @@ slang_struct_construct(slang_struct * stru) return 0; } _slang_struct_scope_ctr(stru->structs); + stru->constructor = NULL; return 1; }