Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: unitialised variable
- X-seq: zsh-workers 23736
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: PATCH: unitialised variable
- Date: Wed, 01 Aug 2007 22:47:56 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Index: Src/hist.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/hist.c,v
retrieving revision 1.68
diff -u -r1.68 hist.c
--- Src/hist.c 23 Jun 2007 18:15:14 -0000 1.68
+++ Src/hist.c 1 Aug 2007 21:48:18 -0000
@@ -2225,6 +2225,7 @@
}
}
if (out) {
+ ret = 0;
for (; he && he->histnum <= xcurhist; he = down_histent(he)) {
if ((writeflags & HFILE_SKIPDUPS && he->node.flags & HIST_DUP)
|| (writeflags & HFILE_SKIPFOREIGN && he->node.flags & HIST_FOREIGN)
--
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