This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
libiberty uninitialized variable warning
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "gdb at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 6 Jan 2009 14:08:24 -0600
- Subject: libiberty uninitialized variable warning
Hi,
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.
Any thoughts?
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985