changeset 5985:8ae50e3ef8bf v7.4.333

updated for version 7.4.333 Problem: Compiler warning for unused function. Solution: Put the function inside the #ifdef.
author Bram Moolenaar <bram@vim.org>
date Tue, 17 Jun 2014 23:18:01 +0200
parents 6891999bf668
children 6973f595e1e9
files src/screen.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -139,7 +139,7 @@ static void draw_vsep_win __ARGS((win_T 
 static void redraw_custom_statusline __ARGS((win_T *wp));
 #endif
 #ifdef FEAT_SEARCH_EXTRA
-#define SEARCH_HL_PRIORITY 0
+# define SEARCH_HL_PRIORITY 0
 static void start_search_hl __ARGS((void));
 static void end_search_hl __ARGS((void));
 static void init_search_hl __ARGS((win_T *wp));
@@ -7476,7 +7476,6 @@ next_search_hl(win, shl, lnum, mincol, c
 	}
     }
 }
-#endif
 
     static int
 next_search_hl_pos(shl, lnum, posmatch, mincol)
@@ -7533,6 +7532,7 @@ next_search_hl_pos(shl, lnum, posmatch, 
     }
     return FALSE;
 }
+#endif
 
       static void
 screen_start_highlight(attr)
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    333,
+/**/
     332,
 /**/
     331,