From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21740 invoked from network); 17 May 2008 12:13:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 May 2008 12:13:26 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 60010 invoked from network); 17 May 2008 12:13:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 May 2008 12:13:17 -0000 Received: (qmail 26572 invoked by alias); 17 May 2008 12:13:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25055 Received: (qmail 26556 invoked from network); 17 May 2008 12:13:12 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 May 2008 12:13:12 -0000 Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by bifrost.dotsrc.org (Postfix) with ESMTP id 2061780589A4 for ; Sat, 17 May 2008 14:13:08 +0200 (CEST) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080517121701.GVBW58.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Sat, 17 May 2008 13:17:01 +0100 Received: from pws-pc.ntlworld.com ([81.107.40.67]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20080517121549.QIKO17393.aamtaout02-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Sat, 17 May 2008 13:15:49 +0100 Received: from pws-pc (pws-pc [127.0.0.1]) by pws-pc.ntlworld.com (8.14.2/8.14.2) with ESMTP id m4HCC0hn017677 for ; Sat, 17 May 2008 13:12:00 +0100 From: Peter Stephenson To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: PATCH: minor pattern debugging thing X-Mailer: MH-E 8.0.3; nmh 1.3-RC1; GNU Emacs 22.2.1 Date: Sat, 17 May 2008 13:12:00 +0100 Message-ID: <17676.1211026320@pws-pc> X-Virus-Scanned: ClamAV 0.91.2/7141/Sat May 17 03:12:19 2008 on bifrost X-Virus-Status: Clean The new gcc noticed that this debugging test is currently redundant as the variable in question is a static array. Might as well get rid of the warning. Index: Src/pattern.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/pattern.c,v retrieving revision 1.45 diff -u -r1.45 pattern.c --- Src/pattern.c 26 Apr 2008 21:26:28 -0000 1.45 +++ Src/pattern.c 17 May 2008 12:11:31 -0000 @@ -2547,7 +2547,6 @@ save = patinput; if (patmatch(next)) { - DPUTS(!patendp, "patendp not set for backreferencing"); if (no && !(parsfound & (1 << (no + 15)))) { patendp[no-1] = save; parsfound |= 1 << (no + 15); -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/