2010-05-05 Michael Snyder <msnyder@vmware.com>

* corelow.c (core_xfer_partial): Delete unused variables.
This commit is contained in:
Michael Snyder 2010-05-05 19:53:54 +00:00
parent 1cd337a56b
commit 789d24f07f
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2010-05-05 Michael Snyder <msnyder@vmware.com>
* corelow.c (core_xfer_partial): Delete unused variables.
* solib-svr4.c (find_program_interpreter): Delete unused variable.
(svr4_solib_create_inferior_hook): Add ifdef around
conditionally-used variable declarations.

View File

@ -690,7 +690,6 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
struct bfd_section *section;
bfd_size_type size;
char *contents;
section = bfd_get_section_by_name (core_bfd, ".auxv");
if (section == NULL)
@ -722,7 +721,6 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
struct bfd_section *section;
bfd_size_type size;
char *contents;
section = bfd_get_section_by_name (core_bfd, ".wcookie");
if (section == NULL)
@ -766,7 +764,6 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
struct bfd_section *section;
bfd_size_type size;
char *contents;
char sectionstr[100];
xsnprintf (sectionstr, sizeof sectionstr, "SPU/%s", annex);