init A.curFuncEndLabel = NULL
authorBrian <brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:04:30 +0000 (14:04 -0600)
committerBrian <brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:04:30 +0000 (14:04 -0600)
src/mesa/shader/slang/slang_compile.c

index d3f6986543e47bf72176a99a4c99ce0b25aabe33..7ea6cc064edb132bcd6ffffaf27eba718e136930 100644 (file)
@@ -1617,6 +1617,7 @@ parse_init_declarator(slang_parse_ctx * C, slang_output_ctx * O,
       A.space.vars = O->vars;
       A.program = O->program;
       A.vartable = O->vartable;
+      A.curFuncEndLabel = NULL;
       _slang_codegen_global_variable(&A, var, C->type);
    }