From c2f6a58ffd2c65da240a99e050eb4ffae1555a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Sun, 20 May 2007 12:49:47 +0000 Subject: Remove unused variables. --- Modules/arraymodule.c | 2 +- Modules/datetimemodule.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 7349527..edd1530 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1566,7 +1566,7 @@ PyMethodDef array_methods[] = { static PyObject * array_repr(arrayobject *a) { - char buf[256], typecode; + char typecode; PyObject *s, *v = NULL; Py_ssize_t len; diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index e03148c..5539659 100644 --- a/Modules/datetimemodule.c +++ b/Modules/datetimemodule.c @@ -4006,7 +4006,6 @@ datetime_subtract(PyObject *left, PyObject *right) static PyObject * datetime_repr(PyDateTime_DateTime *self) { - char buffer[1000]; const char *type_name = self->ob_type->tp_name; PyObject *baserepr; -- cgit v0.12