]> granicus.if.org Git - python/commitdiff
Remove unused variable.
authorWalter Dörwald <walter@livinglogic.de>
Tue, 5 Jun 2007 13:48:11 +0000 (13:48 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 5 Jun 2007 13:48:11 +0000 (13:48 +0000)
Modules/socketmodule.c

index 4ae745c31ef6d0be4b47a8f1791eb4f3aa5e920b..207702320d3055e1b3ce71012f1fb2b00ecff938 100644 (file)
@@ -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