From 4abcaf3949a7ad9580a05d6029f2289adb4bcf03 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 19 Apr 2007 14:04:30 -0600 Subject: [PATCH] init A.curFuncEndLabel = NULL --- src/mesa/shader/slang/slang_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index d3f6986543e..7ea6cc064ed 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -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); } -- 2.30.2