mirror of https://github.com/python/cpython
Remove an unneeded variable assignment.
Found using Clang's static analyzer.
This commit is contained in:
parent
23b581a6f4
commit
6d7b7be990
|
@ -3424,7 +3424,6 @@ socket_gethostbyaddr(PyObject *self, PyObject *args)
|
|||
return NULL;
|
||||
af = sa->sa_family;
|
||||
ap = NULL;
|
||||
al = 0;
|
||||
switch (af) {
|
||||
case AF_INET:
|
||||
ap = (char *)&((struct sockaddr_in *)sa)->sin_addr;
|
||||
|
|
Loading…
Reference in New Issue