From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25340 invoked by alias); 25 Apr 2012 16:50:29 -0000 Received: (qmail 25328 invoked by uid 22791); 25 Apr 2012 16:50:26 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Apr 2012 16:50:12 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Vd6pT6lgWz4Kh2C; Wed, 25 Apr 2012 18:50:09 +0200 (CEST) Received: from igel.home (ppp-88-217-111-104.dynamic.mnet-online.de [88.217.111.104]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Vd6pT27vcz4KK2S; Wed, 25 Apr 2012 18:50:09 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id EF531CA29F; Wed, 25 Apr 2012 18:50:08 +0200 (CEST) From: Andreas Schwab To: "Maciej W. Rozycki" Cc: Tom Tromey , Sergio Durigan Junior , Jan Kratochvil , Subject: Re: Switch -Wunused-variable on? References: <20120422082240.GA21311@host2.jankratochvil.net> <87sjfufrlr.fsf@fleche.redhat.com> X-Yow: Bo Derek ruined my life! Date: Wed, 25 Apr 2012 16:50:00 -0000 In-Reply-To: (Maciej W. Rozycki's message of "Wed, 25 Apr 2012 16:56:57 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00213.txt.bz2 "Maciej W. Rozycki" writes: > On Wed, 25 Apr 2012, Andreas Schwab wrote: > >> > -- "i" is now live in all cases and also IMHO handle_frobnication is more >> > readable. >> >> It also requires an unconditional declaration and definition of >> target_frobnicate_harder. > > Yes, but do you see at as advantage or disadvantage? It makes your example non-working as written due to the missing declaration. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."