diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-05-13 10:00:46 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-05-13 10:00:46 +0000 |
commit | 7dee3f36c6feef2bc456ac5f578412d14d205e43 (patch) | |
tree | 80dff24a24d766b18e6efb5583cf5f1722233e98 /gcc/cp/call.c | |
parent | d668e863c9fc14810a6d6390c47a071adae38db1 (diff) | |
download | gcc-7dee3f36c6feef2bc456ac5f578412d14d205e43.zip gcc-7dee3f36c6feef2bc456ac5f578412d14d205e43.tar.gz gcc-7dee3f36c6feef2bc456ac5f578412d14d205e43.tar.bz2 |
Warning patches:
* Makefile.in (lex.o): Depend on output.h.
* call.c (add_function_candidate): Remove unused variable `cand'.
(add_conv_candidate): Likewise.
(build_builtin_candidate): Likewise.
* cp-tree.h: Add prototype for `types_overlap_p'.
* decl.c (signal_catch): Mark parameter `sig' with ATTRIBUTE_UNUSED.
* decl2.c (merge_functions): Remove unused variables `tmp' and
`tempn'.
* error.c (expr_as_string): Mark parameter `v' with ATTRIBUTE_UNUSED.
(code_as_string): Likewise.
(language_as_string): Likewise.
(parm_as_string): Likewise.
(op_as_string): Likewise.
(assop_as_string): Likewise.
(cv_as_string): Likewise.
* lex.c: Include output.h.
* pt.c (type_unification): Cast first argument of `bzero' to a char*.
* search.c (dfs_no_overlap_yet): Mark parameter `t' with
ATTRIBUTE_UNUSED.
* tinfo.cc (__class_type_info::dcast): Change the type of variable
`i' from int to size_t.
* typeck.c (language_lvalue_valid): Mark parameter `exp' with
ATTRIBUTE_UNUSED.
From-SVN: r19707
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r-- | gcc/cp/call.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c index fa02408..a5c16e9 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -1095,7 +1095,6 @@ add_function_candidate (candidates, fn, arglist, flags) tree parmnode = parmlist; tree argnode = arglist; int viable = 1; - struct z_candidate *cand; /* The `this' and `in_chrg' arguments to constructors are not considered in overload resolution. */ @@ -1183,7 +1182,6 @@ add_conv_candidate (candidates, fn, obj, arglist) tree parmnode = parmlist; tree argnode = arglist; int viable = 1; - struct z_candidate *cand; int flags = LOOKUP_NORMAL; for (i = 0; i < len; ++i) @@ -1243,7 +1241,6 @@ build_builtin_candidate (candidates, fnname, type1, type2, { tree t, convs; int viable = 1, i; - struct z_candidate *cand; tree types[2]; types[0] = type1; |