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