From: Daniel Carl Date: Sat, 6 Sep 2014 22:51:18 +0000 (+0200) Subject: Fixed compiler warning if autocmd feature is disabled (#100). X-Git-Url: https://git.owens.tech/projects.html/projects.html/git?a=commitdiff_plain;h=cd943ec211ed5d2d04c458770741eb443407c4d2;p=vimb.git Fixed compiler warning if autocmd feature is disabled (#100). --- 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);