Skip to content

Commit

Permalink
rc: remove dead code.
Browse files Browse the repository at this point in the history
kencc warns that this code is dead.
  • Loading branch information
oridb authored and dancrossnyc committed May 11, 2022
1 parent 8bf462f commit 964ac74
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/cmd/rc/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);}
Expand Down

0 comments on commit 964ac74

Please sign in to comment.