remove unneeded return stmt
authorBrian <brian@yutani.localnet.net>
Wed, 7 Mar 2007 23:13:33 +0000 (16:13 -0700)
committerBrian <brian@yutani.localnet.net>
Wed, 7 Mar 2007 23:13:33 +0000 (16:13 -0700)
src/mesa/shader/slang/slang_emit.c

index 55338d6459621c29669e0ccc1f852b65c5181ce1..df53c013b12ca0995881a9e9e34c96a51088587a 100644 (file)
@@ -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");