diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-16 08:48:06 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-16 08:48:06 +0000 |
commit | 990818d0292e6a80e8b10fc32e6949f3278fcf84 (patch) | |
tree | 87e152b46b99a110f793d52ea7b60a2683e568b3 /Src/Zle/zle_tricky.c | |
parent | 6296ccf4c4eddaff4abf8cb25869d8e7c9dc228f (diff) | |
download | zsh-990818d0292e6a80e8b10fc32e6949f3278fcf84.tar.gz zsh-990818d0292e6a80e8b10fc32e6949f3278fcf84.tar.xz zsh-990818d0292e6a80e8b10fc32e6949f3278fcf84.zip |
zsh-workers/9077
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r-- | Src/Zle/zle_tricky.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 9d6c925b8..e617313a0 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -1333,9 +1333,9 @@ get_comp_string(void) /* Try and deal with foo{xxx etc. */ char *curs = s + (isset(COMPLETEINWORD) ? offs : strlen(s)); char *predup = dupstring(s), *dp = predup; - char *bbeg = NULL, *bend = NULL, *dbeg; + char *bbeg = NULL, *bend = NULL, *dbeg = NULL; char *lastp = NULL, *firsts = NULL; - int cant = 0, begi, boffs = offs, hascom = 0; + int cant = 0, begi = 0, boffs = offs, hascom = 0; for (i = 0, p = s; *p; p++, dp++, i++) { /* careful, ${... is not a brace expansion... @@ -1898,7 +1898,7 @@ listlist(LinkList l) totl += len; } if ((ncols = ((columns + 2) / longest))) { - int tlines, tline, tcols, maxlen, nth, width; + int tlines = 0, tline, tcols = 0, maxlen, nth, width; nlines = (num + ncols - 1) / ncols; |