From 91813b2835a919d45b2244e0f31f8dc3165ad379 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Fri, 19 Mar 1999 08:50:14 +0000 Subject: Warning fixes: * calls.c (initialize_argument_information): Mark parameters `num_actuals' and `n_named_args' with ATTRIBUTE_UNUSED. * dbxout.c (dbxout_start_new_source_file): Likewise for parameter `filename'. (dbxout_finish): Likewise for parameters `file' and `filename'. (dbxout_prepare_symbol): Likewise for parameter `decl'. (dbxout_begin_function): Likewise. * explow.c (hard_function_value): Likewise for parameter `func'. * function.c (locate_and_pad_parm): Likewise for parameter `fndecl'. * expmed.c (expand_divmod): Omit unused argument to `expand_abs'. * expr.c (expand_expr): Likewise. * expr.h (expand_abs): Delete unused argument from prototype. * optabs.c (expand_abs): Remove unused parameter `unsignedp'. * sdbout.c (sdbout_init): Mark parameter `syms' with ATTRIBUTE_UNUSED. (sdbout_end_block): Likewise for parameter `n'. * toplev.c (debug_define): Likewise for parameters `lineno' and `buffer'. (debug_undef): Likewise. * varasm.c (named_section): Likewise for parameter 'reloc'. (assemble_external): Likewise for parameter `decl'. (assemble_alias): Likewise for parameter `target'. From-SVN: r25858 --- gcc/varasm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/varasm.c') diff --git a/gcc/varasm.c b/gcc/varasm.c index a6ee794..456db02 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -264,7 +264,7 @@ void named_section (decl, name, reloc) tree decl; const char *name; - int reloc; + int reloc ATTRIBUTE_UNUSED; { if (decl != NULL_TREE && TREE_CODE_CLASS (TREE_CODE (decl)) != 'd') @@ -1611,7 +1611,7 @@ contains_pointers_p (type) void assemble_external (decl) - tree decl; + tree decl ATTRIBUTE_UNUSED; { #ifdef ASM_OUTPUT_EXTERNAL if (TREE_CODE_CLASS (TREE_CODE (decl)) == 'd' @@ -4336,7 +4336,7 @@ weak_finish () void assemble_alias (decl, target) - tree decl, target; + tree decl, target ATTRIBUTE_UNUSED; { char *name; -- cgit v1.1