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