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] gdbtypes.c, create_set_type, uninitialized variable


On Tue, Jul 31, 2007 at 04:15:00PM -0700, Michael Snyder wrote:
> Moved test inside if block.
> 

> 2007-07-31  Michael Snyder  <msnyder@access-company.com>
> 
> 	* gdbtypes.c (create_set_type): Test should only be done within
> 	the preceeding if block.  Otherwise, variable is uninitialized.

Looks right to me.

-- 
Daniel Jacobowitz
CodeSourcery


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