]> granicus.if.org Git - vim/commitdiff
patch 8.1.0979: compiler warning for unused functions v8.1.0979
authorBram Moolenaar <Bram@vim.org>
Mon, 25 Feb 2019 04:41:15 +0000 (05:41 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 25 Feb 2019 04:41:15 +0000 (05:41 +0100)
Problem:    Compiler warning for unused functions. (Yasuhiro Matsumoto)
Solution:   Adjust #ifdef.

src/screen.c
src/version.c

index aade363ea77d6c9fe2651c9ea469228d4d712084..eabf7c18680db5bbfd5e1db60d8bac8f4f971cb7 100644 (file)
@@ -832,7 +832,7 @@ update_screen(int type_arg)
     return OK;
 }
 
-#if defined(FEAT_SIGNS) || defined(FEAT_GUI) || defined(FEAT_CONCEAL)
+#if defined(FEAT_NETBEANS_INTG) || defined(FEAT_GUI)
 /*
  * Prepare for updating one or more windows.
  * Caller must check for "updating_screen" already set to avoid recursiveness.
index 850c27dcd4b31bf32e40ecec8bd22a7fb3446733..a5a6f7abd699124f12fad57d617c3952f68c4144 100644 (file)
@@ -779,6 +779,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    979,
 /**/
     978,
 /**/