diff options
author | Brett Cannon <bcannon@gmail.com> | 2010-05-04 00:57:44 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2010-05-04 00:57:44 +0000 |
commit | 6d7b7be9905a8f823bad3a710af483bf93195c4f (patch) | |
tree | 0c39e1eb38177143990a8cb64f7c6264cf8a8044 /Modules/socketmodule.c | |
parent | 23b581a6f491e1b34fbeda48e56c1b5eb2f097af (diff) | |
download | cpython-git-6d7b7be9905a8f823bad3a710af483bf93195c4f.tar.gz |
Remove an unneeded variable assignment.
Found using Clang's static analyzer.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 0625acb30d..6b163f43bf 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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; |