This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Fix compilation failure in parse_escape


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]