From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19243 invoked from network); 7 Feb 2005 12:40:12 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Feb 2005 12:40:12 -0000 Received: (qmail 38091 invoked from network); 7 Feb 2005 12:40:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Feb 2005 12:40:06 -0000 Received: (qmail 12603 invoked by alias); 7 Feb 2005 12:39:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20798 Received: (qmail 12590 invoked from network); 7 Feb 2005 12:39:57 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Feb 2005 12:39:57 -0000 Received: (qmail 37499 invoked from network); 7 Feb 2005 12:39:17 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 7 Feb 2005 12:39:12 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Mon, 7 Feb 2005 12:37:46 +0000 Received: from news01.csr.com ([10.103.143.38]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 7 Feb 2005 12:39:27 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.1/8.12.11) with ESMTP id j17CdCIS014276 for ; Mon, 7 Feb 2005 12:39:12 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.13.1/8.13.1/Submit) with ESMTP id j17CdC8J014273 for ; Mon, 7 Feb 2005 12:39:12 GMT Message-Id: <200502071239.j17CdC8J014273@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: Compile warnings with latest CVS In-reply-to: <1050207123328.ZM6598@candle.brasslantern.com> References: <1050206175046.ZM1012@candle.brasslantern.com> <200502071158.j17BwToE011438@news01.csr.com> <1050207123328.ZM6598@candle.brasslantern.com> Date: Mon, 07 Feb 2005 12:39:12 +0000 From: Peter Stephenson X-OriginalArrivalTime: 07 Feb 2005 12:39:27.0100 (UTC) FILETIME=[0F86EBC0:01C50D12] X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.5 Bart Schaefer wrote: > On Feb 7, 11:58am, Peter Stephenson wrote: > } Subject: Re: Compile warnings with latest CVS > } > } Bart Schaefer wrote: > } > ../../zsh-4.0/Src/init.c:1179: warning: `autoload_zlesetkeymap' defined b > ut not used > } > } I suppose the patch below fixes this. > > It changes it, at least: > > init.pro:3: warning: `autoload_zlesetkeymap' declared `static' but never defi > ned Hmm, I can see myself losing interest in this one rather quickly... how about... Index: Src/init.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/init.c,v retrieving revision 1.47 diff -u -r1.47 init.c --- Src/init.c 7 Feb 2005 12:34:00 -0000 1.47 +++ Src/init.c 7 Feb 2005 12:37:52 -0000 @@ -1173,6 +1173,7 @@ return (unsigned char *)shingetline(); } +/**/ #ifdef UNLINKED_XMOD_zshQszle /**/ @@ -1184,6 +1185,7 @@ (*zlesetkeymapptr)(mode); } +/**/ #endif /* compctl entry point pointers. Similar to the ZLE ones. */ -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************