This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbtypes.c, create_set_type, uninitialized variable
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 2 Aug 2007 16:06:22 -0400
- Subject: Re: [PATCH] gdbtypes.c, create_set_type, uninitialized variable
- References: <15441.12.7.175.2.1185923700.squirrel@webmail.sonic.net>
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