* PATCH: minor pattern debugging thing
@ 2008-05-17 12:12 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2008-05-17 12:12 UTC (permalink / raw)
To: Zsh hackers list
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@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-17 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-17 12:12 PATCH: minor pattern debugging thing Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).