Commit ea6306c7 by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/87393 (gcc/cp/parser.c:13967:37:Unused Entity Issue: expression result…

re PR c++/87393 (gcc/cp/parser.c:13967:37:Unused Entity Issue: expression result unused: -Wunused-value since r251026)

	PR c++/87393
	* parser.c (cp_parser_linkage_specification): Remove useless
	dereference of the consume_open method result.

From-SVN: r266347
parent e21679a8
2018-11-21 Jakub Jelinek <jakub@redhat.com>
PR c++/87393
* parser.c (cp_parser_linkage_specification): Remove useless
dereference of the consume_open method result.
2018-11-20 Martin Sebor <msebor@redhat.com>
* cp-tree.h (cp_check_const_attributes): Declare.
......
......@@ -14223,7 +14223,7 @@ cp_parser_linkage_specification (cp_parser* parser)
/* Consume the `{' token. */
matching_braces braces;
braces.consume_open (parser)->location;
braces.consume_open (parser);
/* Parse the declarations. */
cp_parser_declaration_seq_opt (parser);
/* Look for the closing `}'. */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment