summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-06 03:21:15 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-06 03:21:15 (GMT)
commit954e3cab0a04142d6d0d705c756ac6d85b2976a0 (patch)
treefd5cab753fdf16aeffab07a075e237f98904a9cc /Modules
parentde23cb0e7e1a5181e6102c4f32ab8a24886f27af (diff)
downloadcpython-954e3cab0a04142d6d0d705c756ac6d85b2976a0.zip
cpython-954e3cab0a04142d6d0d705c756ac6d85b2976a0.tar.gz
cpython-954e3cab0a04142d6d0d705c756ac6d85b2976a0.tar.bz2
Removed unused variables.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 8e039a1..235d39b 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -1403,8 +1403,6 @@ BUILD_FUNC_DEF_2(PySocket_gethostbyname_ex,PyObject *,self, PyObject *,args)
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 @@ BUILD_FUNC_DEF_2(PySocket_gethostbyaddr,PyObject *,self, PyObject *, args)
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];