From: Brian Date: Wed, 7 Mar 2007 23:13:33 +0000 (-0700) Subject: remove unneeded return stmt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0aec2bb8f218b7e419806149a2c50f598cd07a6a;p=mesa.git remove unneeded return stmt --- 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");