Fix a gcc warning introduced by r79397.

This commit is contained in:
Victor Stinner 2010-03-25 01:18:38 +00:00
parent 37aab87bc6
commit c1f842b532
1 changed files with 1 additions and 1 deletions

View File

@ -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