Get rid of compiler warnings
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c
index 5840fb8..b8503d2 100644
--- a/Modules/datetimemodule.c
+++ b/Modules/datetimemodule.c
@@ -3668,8 +3668,9 @@
static void
time_dealloc(PyDateTime_Time *self)
{
- if (self->hastzinfo)
+ if (self->hastzinfo) {
Py_XDECREF(self->tzinfo);
+ }
self->ob_type->tp_free((PyObject *)self);
}
@@ -4030,7 +4031,6 @@
time_unpickler(PyObject *module, PyObject *arg)
{
PyDateTime_Time *self;
- PyObject *tzinfo = Py_None;
/* We don't want to allocate space for tzinfo if it's not needed.
* Figuring that out in advance is irritating, so for now we