From: "Russ Cox" <rsc@swtch.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] ramfs question
Date: Sat, 27 Dec 2008 09:00:44 -0800 [thread overview]
Message-ID: <dd6fe68a0812270900o1461f370xf4a83ad1d06cb09f@mail.gmail.com> (raw)
In-Reply-To: <9d1af4bafb8e5eb6e740176a14f89551@9grid.es>
> + Qid q;
> + ...
> + q = fs.tree->root->dir.qid;
>
> Because *q* is not longer used.
> Why *q* is defined and assigned?
Pragmatically, because the Plan 9 C compilers
don't warn about set and not used for struct values.
It's certainly just a dreg.
Russ
prev parent reply other threads:[~2008-12-27 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-26 12:33 kix
2008-12-27 17:00 ` Russ Cox [this message]
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=dd6fe68a0812270900o1461f370xf4a83ad1d06cb09f@mail.gmail.com \
--to=rsc@swtch.com \
--cc=9fans@9fans.net \
/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;
as well as URLs for NNTP newsgroup(s).