Kaydet (Commit) 3095d20a authored tarafından Benjamin Peterson's avatar Benjamin Peterson

initialize to NULL

üst db9352f0
......@@ -183,7 +183,7 @@ typedef struct {
#else
/* Define global variable for the C API and a macro for setting it. */
static PyDateTime_CAPI *PyDateTimeAPI;
static PyDateTime_CAPI *PyDateTimeAPI = NULL;
#define PyDateTime_IMPORT \
PyDateTimeAPI = (PyDateTime_CAPI*) PyCObject_Import("datetime", \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment