From 8f7beea0791ad8943338dc36d9ee41fd462eb6c2 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 24 May 2000 08:32:12 +0000 Subject: fix for comparguments to make -s have an effect again (11552) --- Src/Zle/computil.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Src') 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; -- cgit 1.4.1