summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2006-01-13 17:46:09 +0000
committerWayne Davison <wayned@users.sourceforge.net>2006-01-13 17:46:09 +0000
commit4817964a0742e894eeb033fd3d717f269bc5ac11 (patch)
tree34c68f3995b7f01d0524c2d4023a263fa274c9dd
parentd0502922f9831fb9874aa09c25887498d4232fa7 (diff)
downloadzsh-4817964a0742e894eeb033fd3d717f269bc5ac11.tar.gz
zsh-4817964a0742e894eeb033fd3d717f269bc5ac11.tar.xz
zsh-4817964a0742e894eeb033fd3d717f269bc5ac11.zip
Got rid of unused-variable compiler warning when compiling a
non-multibyte zsh.
-rw-r--r--Src/Zle/zle_refresh.c2
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.