summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-25 05:41:15 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-25 05:41:15 +0100
commit1fa8fdd611b4b69d52baad68e9a7200e09258131 (patch)
tree601bea9e9a13a1aaf8807c2e7de721e8825d3d86
parent2472ae81dff8c30f5d63db8ad2c937deae8be646 (diff)
downloadvim-git-1fa8fdd611b4b69d52baad68e9a7200e09258131.tar.gz
patch 8.1.0979: compiler warning for unused functionsv8.1.0979
Problem: Compiler warning for unused functions. (Yasuhiro Matsumoto) Solution: Adjust #ifdef.
-rw-r--r--src/screen.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index aade363ea..eabf7c186 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -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.
diff --git a/src/version.c b/src/version.c
index 850c27dcd..a5a6f7abd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -780,6 +780,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 979,
+/**/
978,
/**/
977,