Commit c1f842b5 authored by Victor Stinner's avatar Victor Stinner

Fix a gcc warning introduced by r79397.

parent 37aab87b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment