From 3e2e368f3b493399f3eda04a048863713e29d160 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 4 May 2012 01:14:03 -0400 Subject: avoid unitialized memory --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 7a02b75..100d539 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3576,7 +3576,7 @@ static int split_py_long_to_s_and_ns(PyObject *py_long, time_t *s, long *ns) { int result = 0; - PyObject *divmod; + PyObject *divmod = NULL; divmod = PyNumber_Divmod(py_long, billion); if (!divmod) goto exit; -- cgit v0.12