0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.216

Problem:    Compiler warnings. (Tony Mechelynck)
Solution:   Initialize variables, add #ifdef.
This commit is contained in:
Bram Moolenaar
2014-03-25 13:46:26 +01:00
parent 7b44934037
commit c410530637
3 changed files with 6 additions and 2 deletions

View File

@@ -565,7 +565,9 @@ int mch_rename __ARGS((const char *src, const char *dest));
# endif # endif
#endif #endif
#define HAVE_DUP /* have dup() */ #ifndef HAVE_DUP
# define HAVE_DUP /* have dup() */
#endif
#define HAVE_ST_MODE /* have stat.st_mode */ #define HAVE_ST_MODE /* have stat.st_mode */
/* We have three kinds of ACL support. */ /* We have three kinds of ACL support. */

View File

@@ -4185,7 +4185,7 @@ check_termcode(max_offset, buf, bufsize, buflen)
{ {
#ifdef FEAT_MBYTE #ifdef FEAT_MBYTE
int col; int col;
int row_char; int row_char = NUL;
#endif #endif
j = 0; j = 0;
extra = 0; extra = 0;

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
216,
/**/ /**/
215, 215,
/**/ /**/