From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23376 invoked by alias); 17 Sep 2012 09:51:30 -0000 Received: (qmail 23328 invoked by uid 22791); 17 Sep 2012 09:51:28 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Sep 2012 09:51:14 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8H9pDM5005272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Sep 2012 05:51:13 -0400 Received: from spoyarek (vpn1-6-111.ams2.redhat.com [10.36.6.111]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q8H9pB3F021549 for ; Mon, 17 Sep 2012 05:51:12 -0400 Date: Mon, 17 Sep 2012 09:51:00 -0000 From: Siddhesh Poyarekar To: gdb-patches@sourceware.org Subject: [obv][commit] Removed unused definition of LEN Message-ID: <20120917152031.26291306@spoyarek> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00310.txt.bz2 Hi, Another minor cleanup. This definition of LEN is overridden within the two blocks within the function that use them, so this one is never used. Regards, Siddhesh http://sourceware.org/ml/gdb-cvs/2012-09/msg00085.html * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition of LEN. Index: gdb/tic6x-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/tic6x-tdep.c,v retrieving revision 1.9 diff -u -r1.9 tic6x-tdep.c --- gdb/tic6x-tdep.c 8 Aug 2012 05:47:57 -0000 1.9 +++ gdb/tic6x-tdep.c 17 Sep 2012 09:39:55 -0000 @@ -895,7 +895,6 @@ { int argreg = 0; int argnum; - int len = 0; int stack_offset = 4; int references_offset = 4; CORE_ADDR func_addr = find_function_addr (function, NULL);