diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-03-19 08:50:14 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-03-19 08:50:14 +0000 |
commit | 91813b2835a919d45b2244e0f31f8dc3165ad379 (patch) | |
tree | d824bf4af7fa66f8308e7c315b05585e2503daf4 /gcc/dbxout.c | |
parent | c16c47fbf04fa8f4a89b78451c6c1db65feefba1 (diff) | |
download | gcc-91813b2835a919d45b2244e0f31f8dc3165ad379.zip gcc-91813b2835a919d45b2244e0f31f8dc3165ad379.tar.gz gcc-91813b2835a919d45b2244e0f31f8dc3165ad379.tar.bz2 |
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
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index cb8cea5..07122ec 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -497,7 +497,7 @@ dbxout_typedefs (syms) void dbxout_start_new_source_file (filename) - char *filename; + char *filename ATTRIBUTE_UNUSED; { #ifdef DBX_USE_BINCL struct dbx_file *n = (struct dbx_file *) xmalloc (sizeof *n); @@ -582,8 +582,8 @@ dbxout_source_line (file, filename, lineno) void dbxout_finish (file, filename) - FILE *file; - char *filename; + FILE *file ATTRIBUTE_UNUSED; + char *filename ATTRIBUTE_UNUSED; { #ifdef DBX_OUTPUT_MAIN_SOURCE_FILE_END DBX_OUTPUT_MAIN_SOURCE_FILE_END (file, filename); @@ -2190,7 +2190,7 @@ dbxout_symbol_name (decl, suffix, letter) static void dbxout_prepare_symbol (decl) - tree decl; + tree decl ATTRIBUTE_UNUSED; { #ifdef WINNING_GDB char *filename = DECL_SOURCE_FILE (decl); @@ -2683,7 +2683,7 @@ dbxout_really_begin_function (decl) void dbxout_begin_function (decl) - tree decl; + tree decl ATTRIBUTE_UNUSED; { #ifdef DBX_FUNCTION_FIRST dbxout_really_begin_function (decl); |