# HG changeset patch # User Christian Brabandt # Date 1488651304 -3600 # Node ID fde2cdef6b973ff2807f53131e612f5f38742b07 # Parent 2d12e32c6d3f1254af407e3b6f59a134af7434f1 patch 8.0.0409: set_progpath is defined but not always used commit https://github.com/vim/vim/commit/595297d6d5658266dd0574361f77f7832bb18e26 Author: Bram Moolenaar Date: Sat Mar 4 19:11:12 2017 +0100 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 --- 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 --- 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,