aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-12 18:42:18 -0800
committerVinson Lee <[email protected]>2009-12-12 18:42:18 -0800
commitcd1a09e3bbdb907e3b806e68400804310dc168ce (patch)
tree472bc075af252daf5b4bb90c6b35e11a24a47a6b /src/mesa/shader
parentf8d4ac56f7596613730fa4961d9b7b2e8d042055 (diff)
glsl: Initialize member label of struct slang_operation to NULL.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_compile_operation.c1
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 3e2bdbc91ff..be73094ca04 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;
}