diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-25 01:18:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-25 01:18:38 (GMT) |
commit | c1f842b532bc993429208871a43b9f67fd895897 (patch) | |
tree | 673733759bd3c4bedce28d6fc3c67f2a40f129e4 /Modules/datetimemodule.c | |
parent | 37aab87bc6e54850733183dcc7921773bc30851a (diff) | |
download | cpython-c1f842b532bc993429208871a43b9f67fd895897.zip cpython-c1f842b532bc993429208871a43b9f67fd895897.tar.gz cpython-c1f842b532bc993429208871a43b9f67fd895897.tar.bz2 |
Fix a gcc warning introduced by r79397.
Diffstat (limited to 'Modules/datetimemodule.c')
-rw-r--r-- | Modules/datetimemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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 |