0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.1743

Problem:    Clang warns for uninitialzed variable. (Michael Jarvis)
Solution:   Initialize it.
This commit is contained in:
Bram Moolenaar
2016-04-14 23:10:40 +02:00
parent 5d18e0eca5
commit 75be2339d8
2 changed files with 3 additions and 1 deletions

View 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;