diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-06 14:20:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-06 14:20:26 +0200 |
commit | 56be950094e10e68da1f901ba971c5f3e9821685 (patch) | |
tree | 9b77adba1105bac626534bfa85c5d72e187f53ac /src/gui_beval.c | |
parent | 860cae1cec85aeb06668a2b071727c43869acf15 (diff) | |
download | vim-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.c | 4 |
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; |