mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Remove an unneeded variable assignment.
Found using Clang's static analyzer.
This commit is contained in:
parent
23b581a6f4
commit
6d7b7be990
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue