diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/params.c | 1 | ||||
-rw-r--r-- | Src/subst.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Src/params.c b/Src/params.c index cb08b4e6a..ac7f084bd 100644 --- a/Src/params.c +++ b/Src/params.c @@ -2501,7 +2501,6 @@ zhuniqarray(char **x) while (*++p) for (t = x; t < p; t++) if (!strcmp(*p, *t)) { - *p = NULL; for (t = p--; (*t = t[1]) != NULL; t++); break; } diff --git a/Src/subst.c b/Src/subst.c index 9a59495d0..f8ce51ae9 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -1879,7 +1879,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub) return n; } if (unique) { -/* if(!copied) */ + if(!copied) aval = arrdup(aval); i = arrlen(aval); |