diff options
author | Peter Stephenson <pws@zsh.org> | 2015-07-07 12:48:30 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-07-07 12:48:30 +0100 |
commit | 04675eca4ce9396d1efd0563b2b786f5bc6d66ed (patch) | |
tree | 53ddec7cdc6a4d73c269f2004cb3d7511580f927 /Src/Zle/complete.c | |
parent | f56e23eb66ccaa6dec664eafe32f8fd66c2de090 (diff) | |
download | zsh-04675eca4ce9396d1efd0563b2b786f5bc6d66ed.tar.gz zsh-04675eca4ce9396d1efd0563b2b786f5bc6d66ed.tar.xz zsh-04675eca4ce9396d1efd0563b2b786f5bc6d66ed.zip |
unposted: remove compiler error in completion code
Diffstat (limited to 'Src/Zle/complete.c')
-rw-r--r-- | Src/Zle/complete.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c index 30173927d..ee4e5b0a5 100644 --- a/Src/Zle/complete.c +++ b/Src/Zle/complete.c @@ -267,11 +267,12 @@ parse_cmatcher(char *name, char *s) s++; if (!*s || !*++s) { - if (name) + if (name) { if (both) zwarnnam(name, "missing right anchor"); else zwarnnam(name, "missing line pattern"); + } return pcm_err; } } else |