summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2009-06-22 13:05:52 (GMT)
committerMatthias Klose <doko@ubuntu.com>2009-06-22 13:05:52 (GMT)
commitab2b7559e27ca6a8fd8af5cae00e484bfd83ba4d (patch)
tree59c9764dfbdeea93f5d19800ff82d48a6fc18298
parentef83ab9db5bda91bd19224c28aa9267f398bb7bf (diff)
downloadcpython-ab2b7559e27ca6a8fd8af5cae00e484bfd83ba4d.zip
cpython-ab2b7559e27ca6a8fd8af5cae00e484bfd83ba4d.tar.gz
cpython-ab2b7559e27ca6a8fd8af5cae00e484bfd83ba4d.tar.bz2
- Issue #5590: Remove unused global variable in pyexpat extension.
-rw-r--r--Misc/NEWS5
-rw-r--r--Modules/pyexpat.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d433d4c..9639cac 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,6 +26,11 @@ Library
- Issue #6271: mmap tried to close invalid file handle (-1) when anonymous.
(On Unix)
+Extension Modules
+-----------------
+
+- Issue #5590: Remove unused global variable in pyexpat extension.
+
What's New in Python 3.1 Release Candidate 2?
=============================================
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 7a862c0..1b9ffca 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1169,7 +1169,6 @@ static struct PyMethodDef xmlparse_methods[] = {
*/
static char template_buffer[257];
-PyObject *template_string = NULL;
static void
init_template_buffer(void)