Remove an unneeded variable assignment.

Found using Clang's static analyzer.
This commit is contained in:
Brett Cannon 2010-05-04 00:57:44 +00:00
parent 23b581a6f4
commit 6d7b7be990
1 changed files with 0 additions and 1 deletions

View File

@ -3424,7 +3424,6 @@ socket_gethostbyaddr(PyObject *self, PyObject *args)
return NULL; return NULL;
af = sa->sa_family; af = sa->sa_family;
ap = NULL; ap = NULL;
al = 0;
switch (af) { switch (af) {
case AF_INET: case AF_INET:
ap = (char *)&((struct sockaddr_in *)sa)->sin_addr; ap = (char *)&((struct sockaddr_in *)sa)->sin_addr;