2010-05-05 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 5 May 2010 19:53:54 +0000 (19:53 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 5 May 2010 19:53:54 +0000 (19:53 +0000)
* corelow.c (core_xfer_partial): Delete unused variables.

gdb/ChangeLog
gdb/corelow.c

index 2eb4d23..2746874 100644 (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.
index ead2377..0bbe481 100644 (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);