diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-09 09:38:06 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-11 09:22:18 +0000 |
commit | f368720b8b9b481f82cef2e84a7e035864dff5f1 (patch) | |
tree | ec268832d822c899e26439cc10fb8aadc71ce7bd /Src/Zle/computil.c | |
parent | 1b6033489b6de3caba8f6cf09cc2f10287b3904c (diff) | |
download | zsh-f368720b8b9b481f82cef2e84a7e035864dff5f1.tar.gz zsh-f368720b8b9b481f82cef2e84a7e035864dff5f1.tar.xz zsh-f368720b8b9b481f82cef2e84a7e035864dff5f1.zip |
39252: internal: quotestring: Drop the 'e' parameter, which no caller uses.
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r-- | Src/Zle/computil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index 1c90a543a..16b681cda 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -3554,7 +3554,7 @@ comp_quote(char *str, int prefix) if ((x = (prefix && *str == '='))) *str = 'x'; - ret = quotestring(str, NULL, *compqstack); + ret = quotestring(str, *compqstack); if (x) *str = *ret = '='; @@ -4744,7 +4744,7 @@ cf_ignore(char **names, LinkList ign, char *style, char *path) for (; (n = *names); names++) { if (!ztat(n, &nst, 1) && S_ISDIR(nst.st_mode)) { if (tpwd && nst.st_dev == est.st_dev && nst.st_ino == est.st_ino) { - addlinknode(ign, quotestring(n, NULL, QT_BACKSLASH)); + addlinknode(ign, quotestring(n, QT_BACKSLASH)); continue; } if (tpar && !strncmp((c = dupstring(n)), path, pl)) { @@ -4760,7 +4760,7 @@ cf_ignore(char **names, LinkList ign, char *style, char *path) if (found || ((e = strrchr(c, '/')) && e > c + pl && !ztat(c, &st, 1) && st.st_dev == nst.st_dev && st.st_ino == nst.st_ino)) - addlinknode(ign, quotestring(n, NULL, QT_BACKSLASH)); + addlinknode(ign, quotestring(n, QT_BACKSLASH)); } } } |