From 595297d6d5658266dd0574361f77f7832bb18e26 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 4 Mar 2017 19:11:12 +0100 Subject: patch 8.0.0409: set_progpath is defined but not always used Problem: set_progpath is defined but not always used Solution: Adjust #ifdef. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') 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) { -- cgit v1.2.1