summaryrefslogtreecommitdiffstats
path: root/src/if_py_both.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-14 23:10:40 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-14 23:10:40 +0200
commit75be2339d877bbd38df91c0181e1e0e388852df6 (patch)
tree6344027b0e227c0183fbd9218ed99c8518d969eb /src/if_py_both.h
parent5d18e0eca59ffbba22c7f7c91c9f99d672095728 (diff)
patch 7.4.1743v7.4.1743
Problem: Clang warns for uninitialzed variable. (Michael Jarvis) Solution: Initialize it.
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r--src/if_py_both.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index ceedd4c5c9..0b701ae082 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;