parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
authorGeoffrey Keating <geoffk@apple.com>
Fri, 10 Jan 2003 22:05:02 +0000 (22:05 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 10 Jan 2003 22:05:02 +0000 (22:05 +0000)
* parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
(cp_parser_late_parsing_default_args): Likewise.

From-SVN: r61170

gcc/cp/ChangeLog
gcc/cp/parser.c

index 382e26a8ae152e0a3609a2f6093a8df4931dd41f..0c73ca27836709537eef92e638f0afe246db2947 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-10  Geoffrey Keating  <geoffk@apple.com>
+
+       * parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
+       (cp_parser_late_parsing_default_args): Likewise.
+
 2003-01-10  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * cfns.gperf: ANSIfy function declarations.
index d626939e281aa07a18b56a8797507bac77c59280..7c7d49b7c4e8358792a33569f183e552043eed8d 100644 (file)
@@ -14469,7 +14469,7 @@ cp_parser_late_parsing_for_member (parser, member_function)
       
       /* Set the current source position to be the location of the first
         token in the saved inline body.  */
-      (void) cp_lexer_peek_token (parser->lexer);
+      cp_lexer_peek_token (parser->lexer);
       
       /* Let the front end know that we going to be defining this
         function.  */
@@ -14522,7 +14522,7 @@ cp_parser_late_parsing_default_args (cp_parser *parser, tree fn)
 
        /* Set the current source position to be the location of the
          first token in the default argument.  */
-      (void) cp_lexer_peek_token (parser->lexer);
+      cp_lexer_peek_token (parser->lexer);
 
        /* Local variable names (and the `this' keyword) may not appear
          in a default argument.  */