# HG changeset patch # User Bram Moolenaar # Date 1403039881 -7200 # Node ID 8ae50e3ef8bf733c0869c01b5132d02feffc0955 # Parent 6891999bf668d61efd2ab4ef5f18d4553df68e7e updated for version 7.4.333 Problem: Compiler warning for unused function. Solution: Put the function inside the #ifdef. diff --git a/src/screen.c b/src/screen.c --- 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) diff --git a/src/version.c b/src/version.c --- 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,