diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-12-08 14:23:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-12-08 14:23:15 +0100 |
commit | 9c52c3a0a12c1bf4cbebad9dcaba100338914f68 (patch) | |
tree | 71e11b98bba20acc4ace4f2c798e2d183c0c66d0 | |
parent | 2e2e13ca14518b7788909d61a853205e8b12b176 (diff) | |
download | vim-9c52c3a0a12c1bf4cbebad9dcaba100338914f68.zip |
updated for version 7.3.078
Problem: Warning for unused variable.
Solution: Adjuste #ifdefs.
-rw-r--r-- | src/ops.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -2844,7 +2844,9 @@ op_yank(oap, deleting, mess) char_u *p; char_u *pnew; struct block_def bd; +#if defined(FEAT_CLIPBOARD) && defined(FEAT_X11) int did_star = FALSE; +#endif /* check for read-only register */ if (oap->regname != 0 && !valid_yank_reg(oap->regname, TRUE)) @@ -3127,7 +3129,9 @@ op_yank(oap, deleting, mess) clip_own_selection(&clip_star); clip_gen_set_selection(&clip_star); +# ifdef FEAT_X11 did_star = TRUE; +# endif } # ifdef FEAT_X11 diff --git a/src/version.c b/src/version.c index 35b42f8da..9cd521a0c 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 78, +/**/ 77, /**/ 76, |