summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/parse.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ef7678a8..1c749ae64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-15  Oliver Kiddle  <opk@zsh.org>
+
+	* unposted: Src/parse.c: remove duplicated assignment
+
 2016-09-14  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* unposted: Doc/Zsh/expn.yo: small documentation tweaks.
diff --git a/Src/parse.c b/Src/parse.c
index 6e7d40e29..d3c418184 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -309,7 +309,6 @@ parse_context_restore(const struct parse_stack *ps, int toplevel)
     incond = ps->incond;
     inredir = ps->inredir;
     incasepat = ps->incasepat;
-    incasepat = ps->incasepat;
     isnewlin = ps->isnewlin;
     infor = ps->infor;
     inrepeat_ = ps->inrepeat_;