summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-22 17:38:55 -0600
committerBrian Paul <[email protected]>2008-07-22 17:38:55 -0600
commit0d1ed45cbfd555330c8746b0fc046bdb41d767d0 (patch)
tree7db7b07e52d2e86aae2198600bd5554854cfd8f6 /src/mesa/shader/slang
parent11a5c2d4eea69122fd09f272e68afb95143873c6 (diff)
mesa: fix uninitialized var
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_compile_struct.c1
1 files changed, 1 insertions, 0 deletions
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;
}