diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/subst.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 46f1826c6..72013066d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-01-06 Mikael Magnusson <mikachu@gmail.com> + * 34105: Src/subst.c: remove dead code + * 34121: Src/Zle/compresult.c: Remove unneeded NULL check * 34104: Src/Zle/compctl.c: Remove pointless check diff --git a/Src/subst.c b/Src/subst.c index 610d71ee2..5f993d6fd 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -1317,7 +1317,7 @@ get_intarg(char **s, int *delmatchp) if (ret < 0) ret = -ret; *delmatchp = arglen; - return ret < 0 ? -ret : ret; + return ret; } /* Parsing for the (e) flag. */ |