changeset 8913:caffda31048c v7.4.1743

commit https://github.com/vim/vim/commit/75be2339d877bbd38df91c0181e1e0e388852df6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 14 23:10:40 2016 +0200 patch 7.4.1743 Problem: Clang warns for uninitialzed variable. (Michael Jarvis) Solution: Initialize it.
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Apr 2016 23:15:05 +0200
parents a158f9e0233c
children cdaeb8808626
files src/if_py_both.h src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -6070,7 +6070,7 @@ ConvertFromPyMapping(PyObject *obj, typv
 ConvertFromPySequence(PyObject *obj, typval_T *tv)
 {
     PyObject	*lookup_dict;
-    int		ret;
+    int		ret = 0;
 
     if (!(lookup_dict = PyDict_New()))
 	return -1;
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1743,
+/**/
     1742,
 /**/
     1741,