]> granicus.if.org Git - vim/commitdiff
patch 9.0.0152: warning for unused argument in small build v9.0.0152
authorBram Moolenaar <Bram@vim.org>
Sat, 6 Aug 2022 13:21:52 +0000 (14:21 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 6 Aug 2022 13:21:52 +0000 (14:21 +0100)
Problem:    Warning for unused argument in small build.
Solution:   Add "UNUSED".

src/drawline.c
src/version.c

index 0d7c5b49646b1133b571f0b711665a436886632c..b58e83797bcd1e47880b8e72e469ab83c30ff4fa 100644 (file)
@@ -369,7 +369,7 @@ draw_screen_line(win_T *wp, winlinevars_T *wlv)
  * Start a screen line at column zero.
  */
     static void
-win_line_start(win_T *wp, winlinevars_T *wlv)
+win_line_start(win_T *wp UNUSED, winlinevars_T *wlv)
 {
     wlv->col = 0;
     wlv->off = (unsigned)(current_ScreenLine - ScreenLines);
index 1e37a8e3d242325b6039cc12e2c7e7d9db50ca92..feb3c4af19db5e360e32b2d1cd795c9bc301c0fa 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    152,
 /**/
     151,
 /**/