1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-02 08:21:09 +01:00

Got rid of unused-variable compiler warning when compiling a

non-multibyte zsh.
This commit is contained in:
Wayne Davison 2006-01-13 17:46:09 +00:00
parent d0502922f9
commit 4817964a07

View file

@ -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.