This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: libiberty uninitialized variable warning
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: "gdb at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 8 Jan 2009 15:27:16 +0400
- Subject: Re: libiberty uninitialized variable warning
- References: <4963BA38.3000108@oarcorp.com>
Hi Joel,
> On the CVS head, I see this warning on (I think)
> all targets.
>
> libiberty/cp-demangle.c:1914: warning: ?ret? may be used uninitialized
> in this function
>
> The method is large and it looks like initializing the
> variable to NULL would be OK.
libiberty patches are actually discussed on gcc-patches. Could you
resend your question there?
--
Joel