mirror of https://github.com/python/cpython
Fix a gcc warning introduced by r79397.
This commit is contained in:
parent
37aab87bc6
commit
c1f842b532
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue