Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 8838:e5a8311684e4 legacy-trunk
Removed unused variables.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 06 Aug 1998 03:21:15 +0000 |
| parents | f2a4a2b60860 |
| children | 637fec8a7dd3 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Thu Aug 06 02:59:07 1998 +0000 +++ b/Modules/socketmodule.c Thu Aug 06 03:21:15 1998 +0000 @@ -1403,8 +1403,6 @@ struct hostent *h; struct sockaddr_in addr; PyObject *addr_list = (PyObject *)NULL; - char **pch; - PyObject *tmp; #ifdef HAVE_GETHOSTBYNAME_R struct hostent hp_allocated; char buf[16384]; @@ -1447,11 +1445,9 @@ struct sockaddr_in addr; char *ip_num; struct hostent *h; - char **pch; PyObject *rtn_tuple = (PyObject *)NULL; PyObject *name_list = (PyObject *)NULL; PyObject *addr_list = (PyObject *)NULL; - PyObject *tmp; #ifdef HAVE_GETHOSTBYNAME_R struct hostent hp_allocated; char buf[16384];
