From 0aec2bb8f218b7e419806149a2c50f598cd07a6a Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 7 Mar 2007 16:13:33 -0700 Subject: [PATCH] remove unneeded return stmt --- src/mesa/shader/slang/slang_emit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index 55338d64596..df53c013b12 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -1381,7 +1381,6 @@ emit_struct_field(slang_emit_info *emitInfo, slang_ir_node *n) { if (n->Store->File == PROGRAM_STATE_VAR) { n->Store->Index = _slang_alloc_statevar(n, emitInfo->prog->Parameters); - return NULL; } else { _mesa_problem(NULL, "structs/fields not supported yet"); -- 2.30.2