diff options
author | Marek Polacek <polacek@redhat.com> | 2017-03-15 11:18:26 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-03-15 11:18:26 +0000 |
commit | d579c38510319ca28765e3b772bb631e84091112 (patch) | |
tree | 2f0fe180126e7dba4f62d59aa8ecac88eb3c62fb /gcc | |
parent | 94285a7d5645d7b7a297f71b0478257a666cad30 (diff) | |
download | gcc-d579c38510319ca28765e3b772bb631e84091112.zip gcc-d579c38510319ca28765e3b772bb631e84091112.tar.gz gcc-d579c38510319ca28765e3b772bb631e84091112.tar.bz2 |
* c-parser.c (c_parser_enum_specifier): Remove redundant line.
From-SVN: r246156
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c/c-parser.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index b138346..aadc3da 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -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. diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index 46883e2..5bc238b 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -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; |