]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.216 v7.4.216
authorBram Moolenaar <Bram@vim.org>
Tue, 25 Mar 2014 12:46:26 +0000 (13:46 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 25 Mar 2014 12:46:26 +0000 (13:46 +0100)
Problem:    Compiler warnings. (Tony Mechelynck)
Solution:   Initialize variables, add #ifdef.

src/os_unix.h
src/term.c
src/version.c

index d0252001868ea5f3e853797c0bb34420ae64c2ea..4a353388c047506e64e04f828b59b427cc43dcc9 100644 (file)
@@ -565,7 +565,9 @@ int mch_rename __ARGS((const char *src, const char *dest));
 # 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. */
index 35a6af9bad2d93a113dac30afece9c48ba092b36..41974de41b788c87491f79049f0e4fd875f4750a 100644 (file)
@@ -4185,7 +4185,7 @@ check_termcode(max_offset, buf, bufsize, buflen)
            {
 #ifdef FEAT_MBYTE
                int col;
-               int row_char;
+               int row_char = NUL;
 #endif
                j = 0;
                extra = 0;
index bf33f2d4018e4c73e5c3c3923b5495d2569df3a4..65c25fe52cea287f7bd87c2557bfb6dabc5bf94d 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    216,
 /**/
     215,
 /**/