summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-04 19:11:12 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-04 19:11:12 +0100
commit595297d6d5658266dd0574361f77f7832bb18e26 (patch)
tree52699c638f083ba46ebee8fe20fb01c4257410f7
parenteadbc2b46176e2aff2cde5f3874b734ae2ae082a (diff)
downloadvim-git-595297d6d5658266dd0574361f77f7832bb18e26.tar.gz
patch 8.0.0409: set_progpath is defined but not always usedv8.0.0409
Problem: set_progpath is defined but not always used Solution: Adjust #ifdef.
-rw-r--r--src/main.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1da2b84c5..2575e8237 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3528,7 +3528,7 @@ time_msg(
#endif
-#ifndef NO_VIM_MAIN
+#if !defined(NO_VIM_MAIN) && defined(FEAT_EVAL)
static void
set_progpath(char_u *argv0)
{
diff --git a/src/version.c b/src/version.c
index 9b350e724..59ad156c3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 409,
+/**/
408,
/**/
407,