diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-24 08:32:12 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-24 08:32:12 +0000 |
commit | 8f7beea0791ad8943338dc36d9ee41fd462eb6c2 (patch) | |
tree | 09399d7e17409cf1d8992e38afba165548ed8203 /Src/Zle/computil.c | |
parent | fae0b54f1cb44b8df41dcb6f459936134d0e7b37 (diff) | |
download | zsh-8f7beea0791ad8943338dc36d9ee41fd462eb6c2.tar.gz zsh-8f7beea0791ad8943338dc36d9ee41fd462eb6c2.tar.xz zsh-8f7beea0791ad8943338dc36d9ee41fd462eb6c2.zip |
fix for comparguments to make -s have an effect again (11552)
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r-- | Src/Zle/computil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index fc23b5286..e627f37a2 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -628,7 +628,6 @@ parse_cadef(char *nam, char **args) all = ret = alloc_cadef(oargs, single, match, flags); optp = &(ret->opts); - single = flags = 0; anum = 1; sargs = args; @@ -664,7 +663,7 @@ parse_cadef(char *nam, char **args) set_cadef_opts(ret); ret = ret->snext = alloc_cadef(NULL, single, NULL, flags); optp = &(ret->opts); - single = flags = nopts = ndopts = nodopts = 0; + nopts = ndopts = nodopts = 0; anum = 1; } continue; |