From cd943ec211ed5d2d04c458770741eb443407c4d2 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sun, 7 Sep 2014 00:51:18 +0200 Subject: [PATCH] Fixed compiler warning if autocmd feature is disabled (#100). --- src/ex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ex.c b/src/ex.c index 88b8bf8..6647bf1 100644 --- a/src/ex.c +++ b/src/ex.c @@ -128,8 +128,10 @@ static void skip_whitespace(const char **input); static void free_cmdarg(ExArg *arg); static gboolean execute(const ExArg *arg); +#ifdef FEATURE_AUTOCMD static gboolean ex_augroup(const ExArg *arg); static gboolean ex_autocmd(const ExArg *arg); +#endif static gboolean ex_bookmark(const ExArg *arg); static gboolean ex_eval(const ExArg *arg); static gboolean ex_hardcopy(const ExArg *arg); -- 2.20.1