This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa] function parameter shadowed by local variable in opencl-lang.c
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, "ken dot werner at de dot ibm dot com" <ken dot werner at de dot ibm dot com>
- Date: Mon, 28 Feb 2011 08:52:25 +0400
- Subject: Re: [rfa] function parameter shadowed by local variable in opencl-lang.c
- References: <4D698B92.3070309@vmware.com> <4D698C33.9040101@vmware.com>
> >Probably this wasn't intentional?
> >
>
> Oops, another instance of the same thing:
I wish the compiler would warn us about things like this... The patch
looks correct to me, but I will let Ken and Ulrich take a look. Perhaps
they'll be able to suggest a more specific name than `length2' ;-).
--
Joel