]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.333 v7.4.333
authorBram Moolenaar <Bram@vim.org>
Tue, 17 Jun 2014 21:18:01 +0000 (23:18 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 17 Jun 2014 21:18:01 +0000 (23:18 +0200)
Problem:    Compiler warning for unused function.
Solution:   Put the function inside the #ifdef.

src/screen.c
src/version.c

index dd8d9a54181a59f9fdc30680b87d514b16c43b85..e0fbbb463125cda30433982b9db5a4d5e565773b 100644 (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));
 #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, cur)
        }
     }
 }
-#endif
 
     static int
 next_search_hl_pos(shl, lnum, posmatch, mincol)
@@ -7533,6 +7532,7 @@ next_search_hl_pos(shl, lnum, posmatch, mincol)
     }
     return FALSE;
 }
+#endif
 
       static void
 screen_start_highlight(attr)
index 0038a45f8bee2f0f71318921b0fd06f3431eb916..300dedbb02278e8047f8e2634ea36aca81390997 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    333,
 /**/
     332,
 /**/