]> granicus.if.org Git - vim/commitdiff
patch 8.0.0409: set_progpath is defined but not always used v8.0.0409
authorBram Moolenaar <Bram@vim.org>
Sat, 4 Mar 2017 18:11:12 +0000 (19:11 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 Mar 2017 18:11:12 +0000 (19:11 +0100)
Problem:    set_progpath is defined but not always used
Solution:   Adjust #ifdef.

src/main.c
src/version.c

index 1da2b84c5b28105e8906f32aba578177a93f2958..2575e8237de866ae10405e4e8ba9a374de505965 100644 (file)
@@ -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)
 {
index 9b350e7243a289264121a831237b2ebbf908b80a..59ad156c3d6dc505242c681cf20c91bb8783c18c 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    409,
 /**/
     408,
 /**/