[Python-3000-checkins] r55466 - python/branches/py3k-struni/Modules/arraymodule.c python/branches/py3k-struni/Modules/datetimemodule.c

walter.doerwald python-3000-checkins at python.org
Sun May 20 14:49:48 CEST 2007


Author: walter.doerwald
Date: Sun May 20 14:49:47 2007
New Revision: 55466

Modified:
   python/branches/py3k-struni/Modules/arraymodule.c
   python/branches/py3k-struni/Modules/datetimemodule.c
Log:
Remove unused variables.


Modified: python/branches/py3k-struni/Modules/arraymodule.c
==============================================================================
--- python/branches/py3k-struni/Modules/arraymodule.c	(original)
+++ python/branches/py3k-struni/Modules/arraymodule.c	Sun May 20 14:49:47 2007
@@ -1566,7 +1566,7 @@
 static PyObject *
 array_repr(arrayobject *a)
 {
-	char buf[256], typecode;
+	char typecode;
 	PyObject *s, *v = NULL;
 	Py_ssize_t len;
 

Modified: python/branches/py3k-struni/Modules/datetimemodule.c
==============================================================================
--- python/branches/py3k-struni/Modules/datetimemodule.c	(original)
+++ python/branches/py3k-struni/Modules/datetimemodule.c	Sun May 20 14:49:47 2007
@@ -4006,7 +4006,6 @@
 static PyObject *
 datetime_repr(PyDateTime_DateTime *self)
 {
-	char buffer[1000];
 	const char *type_name = self->ob_type->tp_name;
 	PyObject *baserepr;
 


More information about the Python-3000-checkins mailing list