From 0d1ed45cbfd555330c8746b0fc046bdb41d767d0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 22 Jul 2008 17:38:55 -0600 Subject: [PATCH] mesa: fix uninitialized var --- src/mesa/shader/slang/slang_compile_struct.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2