diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-12-13 21:21:43 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-12-13 21:21:43 (GMT) |
commit | 3095d20a53e1ee2d45c037bffeae6acb1ea165dd (patch) | |
tree | 7ebc9b7201f602097c2d49306932b73a01e8fe2b /Include | |
parent | db9352f00f1d65e40e3e49d47becaf4dcb3d6f72 (diff) | |
download | cpython-3095d20a53e1ee2d45c037bffeae6acb1ea165dd.zip cpython-3095d20a53e1ee2d45c037bffeae6acb1ea165dd.tar.gz cpython-3095d20a53e1ee2d45c037bffeae6acb1ea165dd.tar.bz2 |
initialize to NULL
Diffstat (limited to 'Include')
-rw-r--r-- | Include/datetime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/datetime.h b/Include/datetime.h index 0d310b4..490d5ca 100644 --- a/Include/datetime.h +++ b/Include/datetime.h @@ -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", \ |