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.4 / 7.4.333 < prev    next >
Encoding:
Internet Message Format  |  2014-06-16  |  2.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.333
  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.4.333
  11. Problem:    Compiler warning for unused function.
  12. Solution:   Put the function inside the #ifdef.
  13. Files:        src/screen.c
  14.  
  15.  
  16. *** ../vim-7.4.332/src/screen.c    2014-06-17 17:48:21.784628008 +0200
  17. --- src/screen.c    2014-06-17 23:16:24.121372619 +0200
  18. ***************
  19. *** 139,145 ****
  20.   static void redraw_custom_statusline __ARGS((win_T *wp));
  21.   #endif
  22.   #ifdef FEAT_SEARCH_EXTRA
  23. ! #define SEARCH_HL_PRIORITY 0
  24.   static void start_search_hl __ARGS((void));
  25.   static void end_search_hl __ARGS((void));
  26.   static void init_search_hl __ARGS((win_T *wp));
  27. --- 139,145 ----
  28.   static void redraw_custom_statusline __ARGS((win_T *wp));
  29.   #endif
  30.   #ifdef FEAT_SEARCH_EXTRA
  31. ! # define SEARCH_HL_PRIORITY 0
  32.   static void start_search_hl __ARGS((void));
  33.   static void end_search_hl __ARGS((void));
  34.   static void init_search_hl __ARGS((win_T *wp));
  35. ***************
  36. *** 7476,7482 ****
  37.       }
  38.       }
  39.   }
  40. - #endif
  41.   
  42.       static int
  43.   next_search_hl_pos(shl, lnum, posmatch, mincol)
  44. --- 7476,7481 ----
  45. ***************
  46. *** 7533,7538 ****
  47. --- 7532,7538 ----
  48.       }
  49.       return FALSE;
  50.   }
  51. + #endif
  52.   
  53.         static void
  54.   screen_start_highlight(attr)
  55. *** ../vim-7.4.332/src/version.c    2014-06-17 18:46:57.880761027 +0200
  56. --- src/version.c    2014-06-17 23:17:14.949374542 +0200
  57. ***************
  58. *** 736,737 ****
  59. --- 736,739 ----
  60.   {   /* Add new patch number below this line */
  61. + /**/
  62. +     333,
  63.   /**/
  64.  
  65. -- 
  66. You had connectors?  Eeee, when I were a lad we 'ad to carry the
  67. bits between the computer and the terminal with a spoon...
  68.  
  69.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  70. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  71. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  72.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  73.