Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
7845:e53c47128ccf | 7846:2f7ad0b85929 |
---|---|
6584 * ":helptags" | 6584 * ":helptags" |
6585 */ | 6585 */ |
6586 void | 6586 void |
6587 ex_helptags(exarg_T *eap) | 6587 ex_helptags(exarg_T *eap) |
6588 { | 6588 { |
6589 garray_T ga; | |
6590 int i, j; | |
6591 int len; | |
6592 #ifdef FEAT_MULTI_LANG | |
6593 char_u lang[2]; | |
6594 #endif | |
6595 expand_T xpc; | 6589 expand_T xpc; |
6596 char_u *dirname; | 6590 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]; | |
6597 char_u ext[5]; | 6597 char_u ext[5]; |
6598 char_u fname[8]; | 6598 char_u fname[8]; |
6599 int filecount; | 6599 int filecount; |
6600 char_u **files; | 6600 char_u **files; |
6601 int add_help_tags = FALSE; | 6601 #endif |
6602 | 6602 |
6603 /* Check for ":helptags ++t {dir}". */ | 6603 /* Check for ":helptags ++t {dir}". */ |
6604 if (STRNCMP(eap->arg, "++t", 3) == 0 && vim_iswhite(eap->arg[3])) | 6604 if (STRNCMP(eap->arg, "++t", 3) == 0 && vim_iswhite(eap->arg[3])) |
6605 { | 6605 { |
6606 add_help_tags = TRUE; | 6606 add_help_tags = TRUE; |