* corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED.

* sym-ids.c (non_existent_file): Fully initialize structure.
This commit is contained in:
Ian Lance Taylor 1999-07-11 20:06:47 +00:00
parent 57d91c3ced
commit 8622e41b9f
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1999-07-11 Ian Lance Taylor <ian@zembu.com>
* corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED.
* sym-ids.c (non_existent_file): Fully initialize structure.
1999-07-01 Ian Lance Taylor <ian@zembu.com>
* Many files: Add casts in many print statements to cast bfd_vma

View File

@ -392,7 +392,8 @@ DEFUN (get_src_info, (addr, filename, name, line_num),
* entered.
*/
void
DEFUN (core_create_function_syms, (core_bfd), bfd * core_bfd)
core_create_function_syms (core_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED;
{
bfd_vma min_vma = ~0, max_vma = 0;
int class;

View File

@ -46,7 +46,7 @@ static Sym_Table right_ids;
static Source_File non_existent_file =
{
0, "<non-existent-file>"
0, "<non-existent-file>", 0, 0, 0, NULL
};