* c-parser.c (c_parser_enum_specifier): Remove redundant line.

From-SVN: r246156
This commit is contained in:
Marek Polacek 2017-03-15 11:18:26 +00:00 committed by Marek Polacek
parent 94285a7d56
commit d579c38510
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-03-15 Marek Polacek <polacek@redhat.com>
* c-parser.c (c_parser_enum_specifier): Remove redundant line.
2017-03-11 Marek Polacek <polacek@redhat.com>
* c-decl.c (implicit_decl_warning): Add a comment. Fix formatting.

View File

@ -2694,7 +2694,6 @@ c_parser_enum_specifier (c_parser *parser)
location_t enum_loc;
location_t ident_loc = UNKNOWN_LOCATION; /* Quiet warning. */
gcc_assert (c_parser_next_token_is_keyword (parser, RID_ENUM));
enum_loc = c_parser_peek_token (parser)->location;
c_parser_consume_token (parser);
attrs = c_parser_attributes (parser);
enum_loc = c_parser_peek_token (parser)->location;