073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.333
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.333
073263
Problem:    Compiler warning for unused function.
073263
Solution:   Put the function inside the #ifdef.
073263
Files:	    src/screen.c
073263
073263
073263
*** ../vim-7.4.332/src/screen.c	2014-06-17 17:48:21.784628008 +0200
073263
--- src/screen.c	2014-06-17 23:16:24.121372619 +0200
073263
***************
073263
*** 139,145 ****
073263
  static void redraw_custom_statusline __ARGS((win_T *wp));
073263
  #endif
073263
  #ifdef FEAT_SEARCH_EXTRA
073263
! #define SEARCH_HL_PRIORITY 0
073263
  static void start_search_hl __ARGS((void));
073263
  static void end_search_hl __ARGS((void));
073263
  static void init_search_hl __ARGS((win_T *wp));
073263
--- 139,145 ----
073263
  static void redraw_custom_statusline __ARGS((win_T *wp));
073263
  #endif
073263
  #ifdef FEAT_SEARCH_EXTRA
073263
! # define SEARCH_HL_PRIORITY 0
073263
  static void start_search_hl __ARGS((void));
073263
  static void end_search_hl __ARGS((void));
073263
  static void init_search_hl __ARGS((win_T *wp));
073263
***************
073263
*** 7476,7482 ****
073263
  	}
073263
      }
073263
  }
073263
- #endif
073263
  
073263
      static int
073263
  next_search_hl_pos(shl, lnum, posmatch, mincol)
073263
--- 7476,7481 ----
073263
***************
073263
*** 7533,7538 ****
073263
--- 7532,7538 ----
073263
      }
073263
      return FALSE;
073263
  }
073263
+ #endif
073263
  
073263
        static void
073263
  screen_start_highlight(attr)
073263
*** ../vim-7.4.332/src/version.c	2014-06-17 18:46:57.880761027 +0200
073263
--- src/version.c	2014-06-17 23:17:14.949374542 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     333,
073263
  /**/
073263
073263
-- 
073263
You had connectors?  Eeee, when I were a lad we 'ad to carry the
073263
bits between the computer and the terminal with a spoon...
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///