about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2014-08-04 18:54:02 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-08-04 18:54:02 +0100
commitb516dc37ac00f6f9627a360d54a7a612d945375c (patch)
tree6ecfd5c283d856e3193271a8234582b5f7027cf4
parent3d97186bfa8c30f1aa4cc17adf52d81de695d3c2 (diff)
downloadzsh-b516dc37ac00f6f9627a360d54a7a612d945375c.tar.gz
zsh-b516dc37ac00f6f9627a360d54a7a612d945375c.tar.xz
zsh-b516dc37ac00f6f9627a360d54a7a612d945375c.zip
unposted: remove unused variables
-rw-r--r--ChangeLog4
-rw-r--r--Src/subst.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 65831fa96..0de5a9551 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-04  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* unposted: Src/subst.c:  remove unused variables.
+
 2014-08-04  Mikael Magnusson  <mikachu@gmail.com>
 
 	* 32949 (wip 32928, 32937): Doc/Zsh/expn.yo, Src/subst.c,
diff --git a/Src/subst.c b/Src/subst.c
index fc1be7d54..4a5fe3a3c 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -2879,7 +2879,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags)
 	    break;
 	}
     } else if (inbrace && (*s == '^' || *s == Hat)) {
-	char **zip, **ap, **apsrc;
+	char **zip;
 	int shortest = 1;
 	++s;
 	if (*s == '^' || *s == Hat) {