Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Hui Zhu <teawater@gmail.com>
Cc: gdb-patches ml <gdb-patches@sourceware.org>
Subject: Re: [OB] remote.c: initialize p to handle build error
Date: Thu, 14 Jul 2011 15:57:00 -0000	[thread overview]
Message-ID: <20110714145930.GA19882@host1.jankratochvil.net> (raw)
In-Reply-To: <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


  reply	other threads:[~2011-07-14 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-14  6:22 Hui Zhu
2011-07-14 15:57 ` Jan Kratochvil [this message]
2011-07-15  9:03   ` Hui Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110714145930.GA19882@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=teawater@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox