This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] objfiles, maint, demangle, corefile, dwarf2expr, dwarf2-frame.c: remove unused variables.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]