Re #18521: remove assignments of variables that are immediately reassigned.
This commit is contained in:
parent
782952b8fe
commit
6083a4bc1c
|
@ -5155,7 +5155,7 @@ socket_getaddrinfo(PyObject *self, PyObject *args, PyObject* kwargs)
|
|||
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,
|
||||
|
|
|
@ -164,7 +164,7 @@ static double
|
|||
_PyOS_ascii_strtod(const char *nptr, char **endptr)
|
||||
{
|
||||
char *fail_pos;
|
||||
double val = -1.0;
|
||||
double val;
|
||||
struct lconv *locale_data;
|
||||
const char *decimal_point;
|
||||
size_t decimal_point_len;
|
||||
|
|
Loading…
Reference in New Issue