]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.078 v7.3.078
authorBram Moolenaar <Bram@vim.org>
Wed, 8 Dec 2010 13:23:15 +0000 (14:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 8 Dec 2010 13:23:15 +0000 (14:23 +0100)
Problem:    Warning for unused variable.
Solution:   Adjuste #ifdefs.

src/ops.c
src/version.c

index f31f395e99c5773334a6323134cd18e1425e0aa9..c529cd262efd3dc810fb7e5f3950dcb51010d44c 100644 (file)
--- a/src/ops.c
+++ b/src/ops.c
@@ -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
index 35b42f8dab1da75938b3e94f2c27f9a6a3151a7f..9cd521a0c76212e446b9d951b1b1bfbf71f1732d 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    78,
 /**/
     77,
 /**/