summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-31 14:13:21 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-31 14:13:21 +0100
commitfa399af7ece091203bd70ebcf955bf07a820beff (patch)
tree2a1564600d44e4a9f1ce86e92b3e1a765d5e88d5 /src/ex_cmds.c
parent937204a9175d0fe2f13c8bc4ebeb043003d7e7d7 (diff)
patch 7.4.1220v7.4.1220
Problem: Warnings for unused variables in tiny build. (Tony Mechelynck) Solution: Move declarations inside #ifdef. (Hirohito Higashi)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index ba3efac9bb..66f1fa6c41 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6586,19 +6586,19 @@ static void helptags_one(char_u *dir, char_u *ext, char_u *lang, int add_help_ta
void
ex_helptags(exarg_T *eap)
{
- garray_T ga;
- int i, j;
- int len;
-#ifdef FEAT_MULTI_LANG
- char_u lang[2];
-#endif
expand_T xpc;
char_u *dirname;
+ int add_help_tags = FALSE;
+#ifdef FEAT_MULTI_LANG
+ int len;
+ int i, j;
+ garray_T ga;
+ char_u lang[2];
char_u ext[5];
char_u fname[8];
int filecount;
char_u **files;
- int add_help_tags = FALSE;
+#endif
/* Check for ":helptags ++t {dir}". */
if (STRNCMP(eap->arg, "++t", 3) == 0 && vim_iswhite(eap->arg[3]))