From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7286 invoked by alias); 6 Jun 2011 11:40:03 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29463 Received: (qmail 17461 invoked from network); 6 Jun 2011 11:40:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Mon, 6 Jun 2011 13:32:55 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: PATCH: fix occasional warning Message-ID: <20110606113255.GA8105@prunille.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6178-vl-r42848 (2011-05-23) On 2011-06-06 10:03:58 +0100, Peter Stephenson wrote: > The code here is actually safe, but some (now old) versions of gcc > produce a warning anyway. Better to rely on more recent versions > optimising out the unused value. But recent or future GCC versions may warn against values set but unused. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)