This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] objfiles, maint, demangle, corefile, dwarf2expr, dwarf2-frame.c: remove unused variables.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Sat, 8 May 2010 23:15:48 +0200
- Subject: Re: [patch] objfiles, maint, demangle, corefile, dwarf2expr, dwarf2-frame.c: remove unused variables.
- References: <4BE348AC.9060006@vmware.com>
On Fri, 07 May 2010 00:54:36 +0200, Michael Snyder wrote:
> * objfiles.c (objfile_relocate): Delete unused variable.
> --- objfiles.c 27 Apr 2010 20:07:01 -0000 1.114
> +++ objfiles.c 6 May 2010 22:49:24 -0000
> @@ -872,8 +871,8 @@ objfile_relocate (struct objfile *objfil
> - new_debug_offsets = xmalloc (SIZEOF_N_SECTION_OFFSETS
> - (debug_objfile->num_sections));
> + new_debug_offsets =
> + xmalloc (SIZEOF_N_SECTION_OFFSETS (debug_objfile->num_sections));
I do not see a reason for this change; it is also not listed in ChangeLog.
Regards,
Jan