From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28572 invoked by alias); 5 Oct 2004 19:47:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28562 invoked from network); 5 Oct 2004 19:47:04 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 5 Oct 2004 19:47:04 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i95Jkx43029298 for ; Tue, 5 Oct 2004 15:47:04 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i95Jkwr17382; Tue, 5 Oct 2004 15:46:58 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 47D3F28D2; Tue, 5 Oct 2004 15:46:39 -0400 (EDT) Message-ID: <4162FA1F.2030207@gnu.org> Date: Tue, 05 Oct 2004 19:47:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831 MIME-Version: 1.0 To: Paul Hilfinger Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA]: Remove warnings from ada-exp.tab.c compilation References: <20041005103727.938AEF2BD3@nile.gnat.com> In-Reply-To: <20041005103727.938AEF2BD3@nile.gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00091.txt.bz2 > +/* FIXME: Temporary measure to remove warning. The function I'd write this as: /* FIXME: hilfingr/2004-10-05: Hack to remove warning. ... so that who added the note and when are clear. If you're curious grep for this pattern in the sources and quickly discover how old some of those tempoary hacks are :-) otherwize ok, Andrew PS: + tempbuf = (char *) realloc (tempbuf, tempbufsize); the cast is redundant - realloc returns (void *). Andrew