From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21107 invoked by alias); 1 Jul 2009 19:54:19 -0000 Received: (qmail 21096 invoked by uid 22791); 1 Jul 2009 19:54:19 -0000 X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from pimtaint02.ms.com (HELO pimtaint02.ms.com) (199.89.103.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jul 2009 19:54:13 +0000 Received: from pimtaint02 (localhost.ms.com [127.0.0.1]) by pimtaint02.ms.com (output Postfix) with ESMTP id 35A2D9047B6 for ; Wed, 1 Jul 2009 15:54:11 -0400 (EDT) Received: from ny0019as01 (unknown [144.203.194.205]) by pimtaint02.ms.com (internal Postfix) with ESMTP id 1967692C036 for ; Wed, 1 Jul 2009 15:54:11 -0400 (EDT) Received: from ny0019as01 (localhost [127.0.0.1]) by ny0019as01 (msa-out Postfix) with ESMTP id E91F5104400F for ; Wed, 1 Jul 2009 15:54:10 -0400 (EDT) Received: from pimsaext01.ms.com (pimsaext01 [199.89.103.70]) by ny0019as01 (mta-in Postfix) with ESMTP id E52AA42C031 for ; Wed, 1 Jul 2009 15:54:10 -0400 (EDT) Received: from pimsaext01 (localhost.ms.com [127.0.0.1]) by pimsaext01.ms.com (output Postfix) with ESMTP id E12C6B84326 for ; Wed, 1 Jul 2009 15:54:10 -0400 (EDT) Received: from mail-qy0-f197.google.com (mail-qy0-f197.google.com [209.85.221.197]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Thawte Premium Server CA" (verified OK)) by pimsaext01.ms.com (submission Postfix) with ESMTPS id B9982C14001 for ; Wed, 1 Jul 2009 15:54:10 -0400 (EDT) Received: by qyk35 with SMTP id 35so1655534qyk.6 for ; Wed, 01 Jul 2009 12:54:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.35.205 with SMTP id q13mr2810572ibd.17.1246478049990; Wed, 01 Jul 2009 12:54:09 -0700 (PDT) Date: Wed, 01 Jul 2009 19:54:00 -0000 Message-ID: Subject: Removing -Wunused warnings From: "Philip Lee (IDEAS)" To: gdb@sources.redhat.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.35/RELEASE, bases: 01072009 #2182615, status: clean X-IsSubscribed: yes 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: 2009-07/txt/msg00004.txt.bz2 Hi, I thought I'd see if I can remove at least some of the 'unused variable' warnings generated when compiling with -Wunused. I haven't committed any code before and I figure that's a good way to figure out the build system and code layout. I've had a read of the CONTRIBUTING page, but if someone could ping me as to whether it's better to submit one patch or a series of them and anything else I'm likely to get wrong I'd appreciate it. Thanks, Phil