]> granicus.if.org Git - vim/commitdiff
patch 9.0.0523: more compiler warnings for arguments in small version v9.0.0523
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 20:09:42 +0000 (21:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 20:09:42 +0000 (21:09 +0100)
Problem:    more compiler warnings for arguments in small version
Solution:   Adjust #ifdefs.

src/drawline.c
src/version.c

index 07e2048795d513c695536cd75e801de6119a82d0..c4237561786802784171f8bfa2baad9c418226fa 100644 (file)
@@ -391,6 +391,7 @@ handle_lnum_col(
 #endif
     }
 }
+
 #if defined(FEAT_PROP_POPUP) || defined(PROTO)
 /*
  * Return the cell size of virtual text after truncation.
@@ -1530,7 +1531,13 @@ win_line(
            {
                // Show the line number, if desired.
                wlv.draw_state = WL_NR;
-               handle_lnum_col(wp, &wlv, sign_present, num_attr);
+               handle_lnum_col(wp, &wlv,
+#ifdef FEAT_SIGNS
+                                           sign_present, num_attr
+#else
+                                           0, 0
+#endif
+                                           );
            }
 
 #ifdef FEAT_LINEBREAK
index 52e36abb5d74857a73ab21d13f8445b1d13394a4..d40a598418e37c0c7b7715659c1e02dc9d2a1d2c 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    523,
 /**/
     522,
 /**/