summaryrefslogtreecommitdiff
path: root/src/gui_beval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-06-06 14:20:26 +0200
committerBram Moolenaar <Bram@vim.org>2010-06-06 14:20:26 +0200
commit56be950094e10e68da1f901ba971c5f3e9821685 (patch)
tree9b77adba1105bac626534bfa85c5d72e187f53ac /src/gui_beval.c
parent860cae1cec85aeb06668a2b071727c43869acf15 (diff)
downloadvim-git-56be950094e10e68da1f901ba971c5f3e9821685.tar.gz
Fix a few compiler warnings. Fix crash with encrypted undo file.
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r--src/gui_beval.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c
index 123b6fd1b..90bef8b50 100644
--- a/src/gui_beval.c
+++ b/src/gui_beval.c
@@ -20,6 +20,7 @@ general_beval_cb(beval, state)
BalloonEval *beval;
int state UNUSED;
{
+#ifdef FEAT_EVAL
win_T *wp;
int col;
int use_sandbox;
@@ -29,8 +30,9 @@ general_beval_cb(beval, state)
long winnr = 0;
char_u *bexpr;
buf_T *save_curbuf;
-#ifdef FEAT_WINDOWS
+# ifdef FEAT_WINDOWS
win_T *cw;
+# endif
#endif
static int recursive = FALSE;