Karsten Hopp ca15bd
To: vim_dev@googlegroups.com
Karsten Hopp ca15bd
Subject: Patch 7.3.078
Karsten Hopp ca15bd
Fcc: outbox
Karsten Hopp ca15bd
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ca15bd
Mime-Version: 1.0
Karsten Hopp ca15bd
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ca15bd
Content-Transfer-Encoding: 8bit
Karsten Hopp ca15bd
------------
Karsten Hopp ca15bd
Karsten Hopp ca15bd
Patch 7.3.078
Karsten Hopp ca15bd
Problem:    Warning for unused variable.
Karsten Hopp ca15bd
Solution:   Adjuste #ifdefs.
Karsten Hopp ca15bd
Files:	    src/ops.c
Karsten Hopp ca15bd
Karsten Hopp ca15bd
Karsten Hopp ca15bd
*** ../vim-7.3.077/src/ops.c	2010-12-02 21:43:10.000000000 +0100
Karsten Hopp ca15bd
--- src/ops.c	2010-12-08 14:21:48.000000000 +0100
Karsten Hopp ca15bd
***************
Karsten Hopp ca15bd
*** 2844,2850 ****
Karsten Hopp ca15bd
--- 2844,2852 ----
Karsten Hopp ca15bd
      char_u		*p;
Karsten Hopp ca15bd
      char_u		*pnew;
Karsten Hopp ca15bd
      struct block_def	bd;
Karsten Hopp ca15bd
+ #if defined(FEAT_CLIPBOARD) && defined(FEAT_X11)
Karsten Hopp ca15bd
      int			did_star = FALSE;
Karsten Hopp ca15bd
+ #endif
Karsten Hopp ca15bd
  
Karsten Hopp ca15bd
  				    /* check for read-only register */
Karsten Hopp ca15bd
      if (oap->regname != 0 && !valid_yank_reg(oap->regname, TRUE))
Karsten Hopp ca15bd
***************
Karsten Hopp ca15bd
*** 3127,3133 ****
Karsten Hopp ca15bd
--- 3129,3137 ----
Karsten Hopp ca15bd
  
Karsten Hopp ca15bd
  	clip_own_selection(&clip_star);
Karsten Hopp ca15bd
  	clip_gen_set_selection(&clip_star);
Karsten Hopp ca15bd
+ # ifdef FEAT_X11
Karsten Hopp ca15bd
  	did_star = TRUE;
Karsten Hopp ca15bd
+ # endif
Karsten Hopp ca15bd
      }
Karsten Hopp ca15bd
  
Karsten Hopp ca15bd
  # ifdef FEAT_X11
Karsten Hopp ca15bd
*** ../vim-7.3.077/src/version.c	2010-12-08 13:16:58.000000000 +0100
Karsten Hopp ca15bd
--- src/version.c	2010-12-08 14:22:42.000000000 +0100
Karsten Hopp ca15bd
***************
Karsten Hopp ca15bd
*** 716,717 ****
Karsten Hopp ca15bd
--- 716,719 ----
Karsten Hopp ca15bd
  {   /* Add new patch number below this line */
Karsten Hopp ca15bd
+ /**/
Karsten Hopp ca15bd
+     78,
Karsten Hopp ca15bd
  /**/
Karsten Hopp ca15bd
Karsten Hopp ca15bd
-- 
Karsten Hopp ca15bd
A)bort, R)etry, D)o it right this time
Karsten Hopp ca15bd
Karsten Hopp ca15bd
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ca15bd
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ca15bd
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ca15bd
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///