home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.078 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.5 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.078
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.078
  11. Problem:    Warning for unused variable.
  12. Solution:   Adjuste #ifdefs.
  13. Files:        src/ops.c
  14.  
  15.  
  16. *** ../vim-7.3.077/src/ops.c    2010-12-02 21:43:10.000000000 +0100
  17. --- src/ops.c    2010-12-08 14:21:48.000000000 +0100
  18. ***************
  19. *** 2844,2850 ****
  20. --- 2844,2852 ----
  21.       char_u        *p;
  22.       char_u        *pnew;
  23.       struct block_def    bd;
  24. + #if defined(FEAT_CLIPBOARD) && defined(FEAT_X11)
  25.       int            did_star = FALSE;
  26. + #endif
  27.   
  28.                       /* check for read-only register */
  29.       if (oap->regname != 0 && !valid_yank_reg(oap->regname, TRUE))
  30. ***************
  31. *** 3127,3133 ****
  32. --- 3129,3137 ----
  33.   
  34.       clip_own_selection(&clip_star);
  35.       clip_gen_set_selection(&clip_star);
  36. + # ifdef FEAT_X11
  37.       did_star = TRUE;
  38. + # endif
  39.       }
  40.   
  41.   # ifdef FEAT_X11
  42. *** ../vim-7.3.077/src/version.c    2010-12-08 13:16:58.000000000 +0100
  43. --- src/version.c    2010-12-08 14:22:42.000000000 +0100
  44. ***************
  45. *** 716,717 ****
  46. --- 716,719 ----
  47.   {   /* Add new patch number below this line */
  48. + /**/
  49. +     78,
  50.   /**/
  51.  
  52. -- 
  53. A)bort, R)etry, D)o it right this time
  54.  
  55.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  56. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  57. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  58.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  59.