commit | c1f842b532bc993429208871a43b9f67fd895897 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu Mar 25 01:18:38 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu Mar 25 01:18:38 2010 +0000 |
tree | 673733759bd3c4bedce28d6fc3c67f2a40f129e4 | |
parent | 37aab87bc6e54850733183dcc7921773bc30851a [diff] [blame] |
Fix a gcc warning introduced by r79397.
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index 3f1eb57..402dae9 100644 --- a/Modules/datetimemodule.c +++ b/Modules/datetimemodule.c
@@ -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