From 3095d20a53e1ee2d45c037bffeae6acb1ea165dd Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 13 Dec 2009 21:21:43 +0000 Subject: [PATCH] initialize to NULL --- Include/datetime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/datetime.h b/Include/datetime.h index 0d310b47a18e..490d5ca31178 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", \