Module: Mesa
Branch: mesa_7_6_branch
Commit: cd1a09e3bbdb907e3b806e68400804310dc168ce
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd1a09e3bbdb907e3b806e68400804310dc168ce

Author: Vinson Lee <[email protected]>
Date:   Sat Dec 12 18:42:18 2009 -0800

glsl: Initialize member label of struct slang_operation to NULL.

---

 src/mesa/shader/slang/slang_compile_operation.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/shader/slang/slang_compile_operation.c 
b/src/mesa/shader/slang/slang_compile_operation.c
index 3e2bdbc..be73094 100644
--- a/src/mesa/shader/slang/slang_compile_operation.c
+++ b/src/mesa/shader/slang/slang_compile_operation.c
@@ -52,6 +52,7 @@ slang_operation_construct(slang_operation * oper)
    _slang_variable_scope_ctr(oper->locals);
    oper->fun = NULL;
    oper->var = NULL;
+   oper->label = NULL;
    return GL_TRUE;
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to