From: Matthew Wilcox <matthew@wil.cx>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] eliminate compiler warning for xpc_channel.c
Date: Tue, 04 Apr 2006 14:27:34 +0000 [thread overview]
Message-ID: <20060404142734.GI8315@parisc-linux.org> (raw)
In-Reply-To: <44327C95.mailxM9N11TC7P@aqua.americas.sgi.com>
On Tue, Apr 04, 2006 at 07:23:32AM -0700, Luck, Tony wrote:
> - struct xpc_msg *msg;
> + struct xpc_msg *msg = msg;
>
> Did you mean to say "*msg = NULL"?
this is actually an ANSI-permitted idiom for shutting up compiler
warnings while not actually initialising the variable.
next prev parent reply other threads:[~2006-04-04 14:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-04 14:03 [PATCH] eliminate compiler warning for xpc_channel.c Dean Nelson
2006-04-04 14:23 ` Luck, Tony
2006-04-04 14:27 ` Matthew Wilcox [this message]
2006-04-04 14:34 ` Luck, Tony
2006-04-04 15:29 ` Dean Nelson
2006-04-04 15:35 ` Luck, Tony
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=20060404142734.GI8315@parisc-linux.org \
--to=matthew@wil.cx \
--cc=linux-ia64@vger.kernel.org \
/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