1
0
forked from aniani/vim

updated for version 7.3.078

Problem:    Warning for unused variable.
Solution:   Adjuste #ifdefs.
This commit is contained in:
Bram Moolenaar 2010-12-08 14:23:15 +01:00
parent 2e2e13ca14
commit 9c52c3a0a1
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
78,
/**/
77,
/**/