Skip to content

Commit fa399af

Browse files
committed
patch 7.4.1220
Problem: Warnings for unused variables in tiny build. (Tony Mechelynck) Solution: Move declarations inside #ifdef. (Hirohito Higashi)
1 parent 937204a commit fa399af

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

src/ex_cmds.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6586,19 +6586,19 @@ static void helptags_one(char_u *dir, char_u *ext, char_u *lang, int add_help_ta
65866586
void
65876587
ex_helptags(exarg_T *eap)
65886588
{
6589-
garray_T ga;
6590-
int i, j;
6591-
int len;
6592-
#ifdef FEAT_MULTI_LANG
6593-
char_u lang[2];
6594-
#endif
65956589
expand_T xpc;
65966590
char_u *dirname;
6591+
int add_help_tags = FALSE;
6592+
#ifdef FEAT_MULTI_LANG
6593+
int len;
6594+
int i, j;
6595+
garray_T ga;
6596+
char_u lang[2];
65976597
char_u ext[5];
65986598
char_u fname[8];
65996599
int filecount;
66006600
char_u **files;
6601-
int add_help_tags = FALSE;
6601+
#endif
66026602

66036603
/* Check for ":helptags ++t {dir}". */
66046604
if (STRNCMP(eap->arg, "++t", 3) == 0 && vim_iswhite(eap->arg[3]))

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ static char *(features[]) =
746746

747747
static int included_patches[] =
748748
{ /* Add new patch number below this line */
749+
/**/
750+
1220,
749751
/**/
750752
1219,
751753
/**/

0 commit comments

Comments
 (0)