diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2006-01-13 17:46:09 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2006-01-13 17:46:09 +0000 |
commit | 4817964a0742e894eeb033fd3d717f269bc5ac11 (patch) | |
tree | 34c68f3995b7f01d0524c2d4023a263fa274c9dd /Src/Zle | |
parent | d0502922f9831fb9874aa09c25887498d4232fa7 (diff) | |
download | zsh-4817964a0742e894eeb033fd3d717f269bc5ac11.tar.gz zsh-4817964a0742e894eeb033fd3d717f269bc5ac11.tar.xz zsh-4817964a0742e894eeb033fd3d717f269bc5ac11.zip |
Got rid of unused-variable compiler warning when compiling a
non-multibyte zsh.
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_refresh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index fb2e1240d..1d16aa7ef 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -1446,9 +1446,9 @@ singlerefresh(ZLE_STRING_T tmpline, int tmpll, int tmpcs) refreshop = *obuf; /* pointer to old video buffer */ int t0, /* tmp */ vsiz, /* size of new video buffer */ - eol = 0, /* has mbrtowc() returned -2? */ nvcs = 0; /* new video cursor column */ #ifdef MULTIBYTE_SUPPORT + int eol = 0; /* has mbrtowc() returned -2? */ /* * converted lprompt and pointer: no WEOF hack here since * we always output the full prompt and count its width. |