Commit 6d7b7be9 authored by Brett Cannon's avatar Brett Cannon

Remove an unneeded variable assignment.

Found using Clang's static analyzer.
parent 23b581a6
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment