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 3e2bdbc..be73094 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;
 }