summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-20 13:18:06 +0000
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-20 13:18:06 +0000
commitcf5eacc0fcda707ece656045a326980e568dcdf3 (patch)
tree830062b3e715bde571258516dde69500686706a0
parentd2f7f511e3ff9a2bb2755efe9025bdcd6f5d33b2 (diff)
downloadppe42-gcc-cf5eacc0fcda707ece656045a326980e568dcdf3.tar.gz
ppe42-gcc-cf5eacc0fcda707ece656045a326980e568dcdf3.zip
* call.c (add_builtin_candidates): Remove superfluous return.
* name-lookup.c (do_toplevel_using_decl): Likewise. * parser.c (cp_parser_type_specifier_seq): Likewise. (cp_parser_save_default_args): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110022 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/ChangeLog7
-rw-r--r--gcc/cp/call.c2
-rw-r--r--gcc/cp/name-lookup.c1
-rw-r--r--gcc/cp/parser.c3
4 files changed, 7 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b54d930c377..2a9928eff2c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-20 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ * call.c (add_builtin_candidates): Remove superfluous return.
+ * name-lookup.c (do_toplevel_using_decl): Likewise.
+ * parser.c (cp_parser_type_specifier_seq): Likewise.
+ (cp_parser_save_default_args): Likewise.
+
2006-01-20 Dirk Mueller <dmueller@suse.com>
PR c++/5520
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 66b0b03e719..0c23caa20a3 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -2161,8 +2161,6 @@ add_builtin_candidates (struct z_candidate **candidates, enum tree_code code,
(candidates, code, code2, fnname, TREE_VALUE (types[0]),
NULL_TREE, args, argtypes, flags);
}
-
- return;
}
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c
index 190ae24cd94..28b7c27a24f 100644
--- a/gcc/cp/name-lookup.c
+++ b/gcc/cp/name-lookup.c
@@ -3241,7 +3241,6 @@ do_toplevel_using_decl (tree decl, tree scope, tree name)
binding->value = newval;
if (newtype)
binding->type = newtype;
- return;
}
/* Process a using-directive. */
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index cf19fbf1595..814ee5ab5c1 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -11893,8 +11893,6 @@ cp_parser_type_specifier_seq (cp_parser* parser,
if (is_condition && !is_cv_qualifier)
flags |= CP_PARSER_FLAGS_NO_USER_DEFINED_TYPES;
}
-
- return;
}
/* Parse a parameter-declaration-clause.
@@ -15766,7 +15764,6 @@ cp_parser_save_default_args (cp_parser* parser, tree decl)
TREE_PURPOSE (parser->unparsed_functions_queues));
break;
}
- return;
}
/* FN is a FUNCTION_DECL which may contains a parameter with an
OpenPOWER on IntegriCloud