diff src/ex_cmds.c @ 7846:2f7ad0b85929 v7.4.1220

commit https://github.com/vim/vim/commit/fa399af7ece091203bd70ebcf955bf07a820beff Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 31 14:13:21 2016 +0100 patch 7.4.1220 Problem: Warnings for unused variables in tiny build. (Tony Mechelynck) Solution: Move declarations inside #ifdef. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Jan 2016 14:15:04 +0100
parents 6669966db9e9
children 10f17a228661
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6586,19 +6586,19 @@ static void helptags_one(char_u *dir, ch
     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]))