From 964ac74cdc9d9bd22aec10bba850db93c4445cc5 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Tue, 6 Oct 2020 20:22:36 -0700 Subject: [PATCH] rc: remove dead code. kencc warns that this code is dead. --- src/cmd/rc/parse.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cmd/rc/parse.c b/src/cmd/rc/parse.c index dd102190..a9cf497a 100644 --- a/src/cmd/rc/parse.c +++ b/src/cmd/rc/parse.c @@ -298,8 +298,6 @@ cmd3(int tok, int *ptok) t2 = brace(tok); *ptok = dropsp(yylex()); return tree2(SWITCH, t1, t2); - // Note: cmd: a && for(x) y && b is a && {for (x) {y && b}}. - return cmd(tok, ptok); case FN: // | FN words brace {$$=tree2(FN, $2, $3);}