diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-08-11 00:05:55 +0000 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-08-11 00:05:55 +0000 |
commit | d9dce7facee9bf0f7cf49b20bed70fc8456d8720 (patch) | |
tree | 05b690a38c4001c9d8a3d686876700c152ccb1bd /gdb | |
parent | a548ec93e5803a950b22ed383d6d6b2000ce8f05 (diff) | |
download | gdb-d9dce7facee9bf0f7cf49b20bed70fc8456d8720.zip gdb-d9dce7facee9bf0f7cf49b20bed70fc8456d8720.tar.gz gdb-d9dce7facee9bf0f7cf49b20bed70fc8456d8720.tar.bz2 |
2012-08-10 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb_bfd.c (gdb_bfd_unref): Remove unused variable `slot'.
(zlib_decompress_section): Likewise for `section_data'.
(gdb_bfd_map_section): Likewise for `buf' and `retbuf'.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdb_bfd.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1a31059..a8f6dfb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-08-10 Sergio Durigan Junior <sergiodj@redhat.com> + + * gdb_bfd.c (gdb_bfd_unref): Remove unused variable `slot'. + (zlib_decompress_section): Likewise for `section_data'. + (gdb_bfd_map_section): Likewise for `buf' and `retbuf'. + 2012-08-10 Doug Evans <dje@google.com> Add $_memeq, $_regex, $_streq, $_strlen convenience functions. diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c index 40e1c4d..a8210db 100644 --- a/gdb/gdb_bfd.c +++ b/gdb/gdb_bfd.c @@ -264,7 +264,6 @@ gdb_bfd_unref (struct bfd *abfd) { struct gdb_bfd_data *gdata; struct gdb_bfd_cache_search search; - void **slot; if (abfd == NULL) return; @@ -341,7 +340,6 @@ zlib_decompress_section (asection *sectp, z_stream strm; int rc; int header_size = 12; - struct dwarf2_per_bfd_section *section_data; if (bfd_seek (abfd, sectp->filepos, SEEK_SET) != 0 || bfd_bread (compressed_buffer, @@ -417,7 +415,6 @@ const gdb_byte * gdb_bfd_map_section (asection *sectp, bfd_size_type *size) { bfd *abfd; - gdb_byte *buf, *retbuf; unsigned char header[4]; struct gdb_bfd_section_data *descriptor; |