From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24010 invoked from network); 14 Dec 1998 20:41:13 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 14 Dec 1998 20:41:13 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id PAA16448; Mon, 14 Dec 1998 15:40:25 -0500 (EST) Resent-Date: Mon, 14 Dec 1998 15:40:25 -0500 (EST) Message-ID: <19981214201535.08492@athenaeum.demon.co.uk> Date: Mon, 14 Dec 1998 20:15:35 +0000 From: Phil Pennock To: Zsh Development Workers Subject: PATCH: unused variable Mail-Followup-To: Zsh Development Workers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 Organisation: Organisation? Here? No, over there ----> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine and mine alone. Such views do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. X-Phase-of-Moon: The Moon is Waning Crescent (15% of Full) Resent-Message-ID: <"aXtYh.0.u04.vUNTs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4784 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Compilation of glob.c gave a warning that the variable 'j' on line 1950 was unused. Checking the func, this is not dependent upon the preprocessor. Quick-fix noddy patch. --- Src/glob.c.old Fri Dec 11 16:02:31 1998 +++ Src/glob.c Mon Dec 14 20:12:26 1998 @@ -1947,7 +1947,7 @@ { Comp c; char *s = *sp, *t, *start, sav; - int i, j, l = strlen(*sp), matched; + int i, l = strlen(*sp), matched; MUSTUSEHEAP("getmatch"); /* presumably covered by prefork() test */ repllist = NULL; -- --> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+ G+ e+ h* r y?