summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-06-05 13:48:11 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-06-05 13:48:11 (GMT)
commit9cb0802cb591bc2559743271450e8a064438e5b7 (patch)
treecb86c763f3d51cd2f8dc5b2d1aa298fa51c7aed4
parenta7eb93ec43e0ad18a0c78c93afb85e9cb9fd3f2f (diff)
downloadcpython-9cb0802cb591bc2559743271450e8a064438e5b7.zip
cpython-9cb0802cb591bc2559743271450e8a064438e5b7.tar.gz
cpython-9cb0802cb591bc2559743271450e8a064438e5b7.tar.bz2
Remove unused variable.
-rw-r--r--Modules/socketmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 4ae745c..2077023 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2775,7 +2775,6 @@ sock_dealloc(PySocketSockObject *s)
static PyObject *
sock_repr(PySocketSockObject *s)
{
- char buf[512];
#if SIZEOF_SOCKET_T > SIZEOF_LONG
if (s->sock_fd > LONG_MAX) {
/* this can occur on Win64, and actually there is a special