summaryrefslogtreecommitdiff
path: root/c/lib_obj.c
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2016-06-05 23:25:41 +0200
committerArmin Rigo <arigo@tunes.org>2016-06-05 23:25:41 +0200
commit4c47ab57cc1e1b872a9076ef4ab22364ef32896f (patch)
tree463a0278d2bf0879d854459f8f54dbbfb782e10c /c/lib_obj.c
parentd69c880f9cc92ff578aaa5a6047500d4cde6a4e3 (diff)
downloadcffi-4c47ab57cc1e1b872a9076ef4ab22364ef32896f.tar.gz
Python3 compat
Diffstat (limited to 'c/lib_obj.c')
-rw-r--r--c/lib_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/lib_obj.c b/c/lib_obj.c
index 01d1346..6badb3a 100644
--- a/c/lib_obj.c
+++ b/c/lib_obj.c
@@ -119,7 +119,7 @@ static PyObject *lib_build_cpython_func(LibObject *lib,
by calling _cffi_type().
*/
PyObject *result = NULL;
- CTypeDescrObject **pfargs;
+ CTypeDescrObject **pfargs = NULL;
CTypeDescrObject *fresult;
Py_ssize_t nargs = 0;
struct CPyExtFunc_s *xfunc;