Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 86357:7396d10405db
Re #18521: remove assignments of variables that are immediately reassigned.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Mon, 14 Oct 2013 06:51:46 +0200 |
| parents | 540a9c69c2ea |
| children | 17b160baa20f |
line wrap: on
line diff
--- a/Modules/socketmodule.c Mon Oct 14 06:46:12 2013 +0200 +++ b/Modules/socketmodule.c Mon Oct 14 06:51:46 2013 +0200 @@ -5155,7 +5155,7 @@ PyObject *all = (PyObject *)NULL; PyObject *idna = NULL; - family = socktype = protocol = flags = 0; + socktype = protocol = flags = 0; family = AF_UNSPEC; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|iiii:getaddrinfo", kwnames, &hobj, &pobj, &family, &socktype,
