This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix compilation failure in parse_escape
- From: Eli Zaretskii <eliz at gnu dot org>
- To: tromey at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 15 Apr 2009 23:42:03 +0300
- Subject: Re: [RFA] Fix compilation failure in parse_escape
- References: <83prfdlpqg.fsf@gnu.org> <m3ocuxg201.fsf@fleche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Cc: gdb-patches@sourceware.org
> From: Tom Tromey <tromey@redhat.com>
> Date: Wed, 15 Apr 2009 13:17:50 -0600
>
> Eli> 2009-04-15 Eli Zaretskii <eliz@gnu.org>
> Eli> * utils.c (parse_escape): Initialize target_char to pacify GCC.
>
> Any value (not just -2) is ok here because it will always be overwritten.
> Add a comment explaining that the initialization is to avoid a
> warning -- we do this in other places. Ok with that.
Committed, thanks.