Skip to content

Commit 595297d

Browse files
committed
patch 8.0.0409: set_progpath is defined but not always used
Problem: set_progpath is defined but not always used Solution: Adjust #ifdef.
1 parent eadbc2b commit 595297d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3528,7 +3528,7 @@ time_msg(
35283528

35293529
#endif
35303530

3531-
#ifndef NO_VIM_MAIN
3531+
#if !defined(NO_VIM_MAIN) && defined(FEAT_EVAL)
35323532
static void
35333533
set_progpath(char_u *argv0)
35343534
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
409,
767769
/**/
768770
408,
769771
/**/

0 commit comments

Comments
 (0)