glsl: Initialize member label of struct slang_operation to NULL.
authorVinson Lee <vlee@vmware.com>
Sun, 13 Dec 2009 02:42:18 +0000 (18:42 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 13 Dec 2009 02:42:18 +0000 (18:42 -0800)
src/mesa/shader/slang/slang_compile_operation.c

index 3e2bdbc91ffa5a79a16fd35dc2f8807c3cf81ab3..be73094ca04ab52ae18acfbd227b6cc1cb5be7a2 100644 (file)
@@ -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;
 }