From 4817964a0742e894eeb033fd3d717f269bc5ac11 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 13 Jan 2006 17:46:09 +0000 Subject: Got rid of unused-variable compiler warning when compiling a non-multibyte zsh. --- Src/Zle/zle_refresh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit 1.4.1