From c1f842b532bc993429208871a43b9f67fd895897 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 25 Mar 2010 01:18:38 +0000 Subject: Fix a gcc warning introduced by r79397. --- Modules/datetimemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index 3f1eb57..402dae9 100644 --- a/Modules/datetimemodule.c +++ b/Modules/datetimemodule.c @@ -4858,7 +4858,7 @@ initdatetime(void) x = PyCapsule_New(&CAPI, PyDateTime_CAPSULE_NAME, NULL); if (x == NULL) - return NULL; + return; PyModule_AddObject(m, "datetime_CAPI", x); /* A 4-year cycle has an extra leap day over what we'd get from -- cgit v0.12