This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [OB] remote.c: initialize p to handle build error
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Thu, 14 Jul 2011 16:59:30 +0200
- Subject: Re: [OB] remote.c: initialize p to handle build error
- References: <CANFwon2Y88zUiuDk8hSfPu9m0UxUhv4oL1YE9LwmXW+xGAgX5A@mail.gmail.com>
On Thu, 14 Jul 2011 06:48:54 +0200, Hui Zhu wrote:
> * remote.c (remote_get_trace_status): Initialize p.
Also for 7.3; although it does not use -Werror.
BTW there are sometimes comments in these cases like:
/* Initialize it just to avoid a GCC false warning. */
Thanks/sorry,
Jan