patch 7.4.1220
Problem: Warnings for unused variables in tiny build. (Tony Mechelynck)
Solution: Move declarations inside #ifdef. (Hirohito Higashi)
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index ba3efac..66f1fa6 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6586,19 +6586,19 @@
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]))