aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-03-20 19:21:31 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-03-20 19:21:31 +0000
commit54ea1de9f39a10a4f329c8f3c4a54ad8cd31d8fa (patch)
treeccbeb8c4f275846b9aaf9e86072c1f0572291df3 /gcc/toplev.c
parent59d40964295f794d4ea7fc0d9a459c4ffccda9f9 (diff)
downloadgcc-54ea1de9f39a10a4f329c8f3c4a54ad8cd31d8fa.zip
gcc-54ea1de9f39a10a4f329c8f3c4a54ad8cd31d8fa.tar.gz
gcc-54ea1de9f39a10a4f329c8f3c4a54ad8cd31d8fa.tar.bz2
Warning fixes:
* c-lex.c (yylex): Remove unused variable `bytes'. * flow.c (print_rtl_with_bb): Cast the return value of alloca. * function.c (assign_parms): Wrap variable `varargs_setup' in macro SETUP_INCOMING_VARARGS. (thread_prologue_and_epilogue_insns): Mark parameter `f' with ATTRIBUTE_UNUSED. * local-alloc.c (no_equiv): Likewise for parameter `store'. * sched.c (schedule_insns): Remove unused variables `insn' and `next'. * tlink.c (symbol_hash_newfunc, symbol_hash_lookup, file_hash_newfunc, file_hash_lookup, demangled_hash_newfunc, demangled_hash_lookup, symbol_push, symbol_pop, file_push, file_pop, tlink_init, tlink_execute, frob_extension, obstack_fgets, tfgets, pfgets, freadsym, read_repo_file, maybe_tweak, recompile_files, read_repo_files, demangle_new_symbols, scan_linker_output): Add static prototype. (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc): Make the third argument a `hash_table_key'. * toplev.c (debug_start_source_file): Mark parameter `filename' with ATTRIBUTE_UNUSED. From-SVN: r25871
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 2177a62..abe818d 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -5521,7 +5521,7 @@ print_switch_values (file, pos, max, indent, sep, term)
void
debug_start_source_file (filename)
- register char *filename;
+ register char *filename ATTRIBUTE_UNUSED;
{
#ifdef DBX_DEBUGGING_INFO
if (write_symbols == DBX_DEBUG)