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: Initialize tmp_obstack


On Sat, Dec 02, 2006 at 10:27:12AM -0800, H. J. Lu wrote:
> Gcc 4.1 warns

Mine doesn't, but I never did figure out why some compilers do and
others don't.

> 2006-12-02  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	* cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack.
> 	(cp_print_value): Likewise
> 	* p-valprint.c (pascal_object_print_value_fields): Likewise
> 	(pascal_object_print_value): Likewise

OK to commit - let's use this version.  Thanks.  I think it's fine for
the 4.2 branch too.

-- 
Daniel Jacobowitz
CodeSourcery


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