From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11611 invoked from network); 5 Jun 2002 14:59:27 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Jun 2002 14:59:27 -0000 Received: (qmail 8157 invoked by alias); 5 Jun 2002 14:59:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17292 Received: (qmail 8145 invoked from network); 5 Jun 2002 14:59:17 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: PATCH: unused variable Date: Wed, 05 Jun 2002 15:58:48 +0100 Message-ID: <9968.1023289128@csr.com> From: Peter Stephenson I've had this minor tweak to silence the compiler lying around for some time now. Index: Src/builtin.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/builtin.c,v retrieving revision 1.73 diff -u -r1.73 builtin.c --- Src/builtin.c 24 Mar 2002 07:56:42 -0000 1.73 +++ Src/builtin.c 5 Jun 2002 14:52:56 -0000 @@ -2914,7 +2914,10 @@ int flags[5], *len; char *start, *endptr, *c, *d, *flag, *buf, spec[11], *fmt = NULL; char **first, *curarg, *flagch = "0+- #", save = '\0', nullstr = '\0'; - size_t rcount, mcount, count = 0; + size_t rcount, count = 0; +#ifdef HAVE_OPEN_MEMSTREAM + size_t mcount; +#endif FILE *fout = stdout; Histent ent; -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************