Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: minor pattern debugging thing
- X-seq: zsh-workers 25055
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: PATCH: minor pattern debugging thing
- Date: Sat, 17 May 2008 13:12:00 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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 <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author