From: Victor Stinner Date: Thu, 25 Mar 2010 01:18:38 +0000 (+0000) Subject: Fix a gcc warning introduced by r79397. X-Git-Tag: v2.7b1~213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1f842b532bc993429208871a43b9f67fd895897;p=python Fix a gcc warning introduced by r79397. --- diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index 3f1eb574da..402dae9cd9 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