From: Bram Moolenaar Date: Sat, 4 Mar 2017 18:11:12 +0000 (+0100) Subject: patch 8.0.0409: set_progpath is defined but not always used X-Git-Tag: v8.0.0409 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=595297d6d5658266dd0574361f77f7832bb18e26;p=vim patch 8.0.0409: set_progpath is defined but not always used Problem: set_progpath is defined but not always used Solution: Adjust #ifdef. --- 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 @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 409, /**/ 408, /**/