# HG changeset patch # User Bram Moolenaar # Date 1395751586 -3600 # Node ID bf1775553d3bf561e289bbf367d014915d09eaad # Parent d3a535c128a9eba16b3fb9ea247078ca2fe9a9b5 updated for version 7.4.216 Problem: Compiler warnings. (Tony Mechelynck) Solution: Initialize variables, add #ifdef. diff --git a/src/os_unix.h b/src/os_unix.h --- a/src/os_unix.h +++ b/src/os_unix.h @@ -565,7 +565,9 @@ int mch_rename __ARGS((const char *src, # endif #endif -#define HAVE_DUP /* have dup() */ +#ifndef HAVE_DUP +# define HAVE_DUP /* have dup() */ +#endif #define HAVE_ST_MODE /* have stat.st_mode */ /* We have three kinds of ACL support. */ diff --git a/src/term.c b/src/term.c --- a/src/term.c +++ b/src/term.c @@ -4185,7 +4185,7 @@ check_termcode(max_offset, buf, bufsize, { #ifdef FEAT_MBYTE int col; - int row_char; + int row_char = NUL; #endif j = 0; extra = 0; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 216, +/**/ 215, /**/ 214,