Skip to content

Commit

Permalink
genksyms: remove useless case DOTS
Browse files Browse the repository at this point in the history
This switch statement does not list out all the cases. Since the
'default' covers all the rest, the 'DOTS' case is unneeded.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed Feb 16, 2021
1 parent e66e13a commit 1394073
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/genksyms/lex.l
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ repeat:
lexstate = ST_EXPRESSION;
break;
case DOTS:
default:
APP;
break;
Expand Down

0 comments on commit 1394073

Please sign in to comment.