1
0
forked from aniani/vim

updated for version 7.4.333

Problem:    Compiler warning for unused function.
Solution:   Put the function inside the #ifdef.
This commit is contained in:
Bram Moolenaar
2014-06-17 23:18:01 +02:00
parent 58cbc914ea
commit de993ea629
2 changed files with 4 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ static void draw_vsep_win __ARGS((win_T *wp, int row));
static void redraw_custom_statusline __ARGS((win_T *wp)); static void redraw_custom_statusline __ARGS((win_T *wp));
#endif #endif
#ifdef FEAT_SEARCH_EXTRA #ifdef FEAT_SEARCH_EXTRA
#define SEARCH_HL_PRIORITY 0 # define SEARCH_HL_PRIORITY 0
static void start_search_hl __ARGS((void)); static void start_search_hl __ARGS((void));
static void end_search_hl __ARGS((void)); static void end_search_hl __ARGS((void));
static void init_search_hl __ARGS((win_T *wp)); static void init_search_hl __ARGS((win_T *wp));
@@ -7476,7 +7476,6 @@ next_search_hl(win, shl, lnum, mincol, cur)
} }
} }
} }
#endif
static int static int
next_search_hl_pos(shl, lnum, posmatch, mincol) next_search_hl_pos(shl, lnum, posmatch, mincol)
@@ -7533,6 +7532,7 @@ next_search_hl_pos(shl, lnum, posmatch, mincol)
} }
return FALSE; return FALSE;
} }
#endif
static void static void
screen_start_highlight(attr) screen_start_highlight(attr)

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
333,
/**/ /**/
332, 332,
/**/ /**/