]> granicus.if.org Git - vim/commitdiff
patch 7.4.1743 v7.4.1743
authorBram Moolenaar <Bram@vim.org>
Thu, 14 Apr 2016 21:10:40 +0000 (23:10 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 14 Apr 2016 21:10:40 +0000 (23:10 +0200)
Problem:    Clang warns for uninitialzed variable. (Michael Jarvis)
Solution:   Initialize it.

src/if_py_both.h
src/version.c

index ceedd4c5c98e686e4981f880ed4a219c28de9a45..0b701ae082bbfc4c1ad04866b70ca0ce150a1555 100644 (file)
@@ -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;
index 4c00d316973a0c8be9b86616170737261f01e63b..aa181fb22c246cf1c5aea8c5e782c3c98c01b035 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1743,
 /**/
     1742,
 /**/