[vim] 57/139: patch 7.4.1743 Problem: Clang warns for uninitialzed variable. (Michael Jarvis) Solution: Initialize it.

James McCoy jamessan at debian.org
Fri May 6 04:00:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository vim.

commit 75be2339d877bbd38df91c0181e1e0e388852df6
Author: Bram Moolenaar <Bram at 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.
---
 src/if_py_both.h | 2 +-
 src/version.c    | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/if_py_both.h b/src/if_py_both.h
index ceedd4c..0b701ae 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -6070,7 +6070,7 @@ ConvertFromPyMapping(PyObject *obj, typval_T *tv)
 ConvertFromPySequence(PyObject *obj, typval_T *tv)
 {
     PyObject	*lookup_dict;
-    int		ret;
+    int		ret = 0;
 
     if (!(lookup_dict = PyDict_New()))
 	return -1;
diff --git a/src/version.c b/src/version.c
index 4c00d31..aa181fb 100644
--- 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,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list