r79408 - python/trunk/Modules/datetimemodule.c
25 Mar
2010
25 Mar
'10
1:18 a.m.
Author: victor.stinner Date: Thu Mar 25 02:18:38 2010 New Revision: 79408 Log: Fix a gcc warning introduced by r79397. Modified: python/trunk/Modules/datetimemodule.c Modified: python/trunk/Modules/datetimemodule.c ============================================================================== --- python/trunk/Modules/datetimemodule.c (original) +++ python/trunk/Modules/datetimemodule.c Thu Mar 25 02:18:38 2010 @@ -4858,7 +4858,7 @@ 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
5340
Age (days ago)
5340
Last active (days ago)
0 comments
1 participants
participants (1)
-
victor.stinner