Fixed compiler warning if autocmd feature is disabled (#100).
authorDaniel Carl <danielcarl@gmx.de>
Sat, 6 Sep 2014 22:51:18 +0000 (00:51 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 6 Sep 2014 22:51:18 +0000 (00:51 +0200)
src/ex.c

index 88b8bf8..6647bf1 100644 (file)
--- 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);