From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sat, 27 Dec 2008 09:00:44 -0800 From: "Russ Cox" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> Subject: Re: [9fans] ramfs question In-Reply-To: <9d1af4bafb8e5eb6e740176a14f89551@9grid.es> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9d1af4bafb8e5eb6e740176a14f89551@9grid.es> Topicbox-Message-UUID: 72088460-ead4-11e9-9d60-3106f5b1d025 > + 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