mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix a gcc warning introduced by r79397.
This commit is contained in:
parent
37aab87bc6
commit
c1f842b532
1 changed files with 1 additions and 1 deletions
|
@ -4858,7 +4858,7 @@ initdatetime(void)
|
||||||
|
|
||||||
x = PyCapsule_New(&CAPI, PyDateTime_CAPSULE_NAME, NULL);
|
x = PyCapsule_New(&CAPI, PyDateTime_CAPSULE_NAME, NULL);
|
||||||
if (x == NULL)
|
if (x == NULL)
|
||||||
return NULL;
|
return;
|
||||||
PyModule_AddObject(m, "datetime_CAPI", x);
|
PyModule_AddObject(m, "datetime_CAPI", x);
|
||||||
|
|
||||||
/* A 4-year cycle has an extra leap day over what we'd get from
|
/* A 4-year cycle has an extra leap day over what we'd get from
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue