From: Brett Cannon Date: Tue, 4 May 2010 00:57:44 +0000 (+0000) Subject: Remove an unneeded variable assignment. X-Git-Tag: v2.7b2~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d7b7be9905a8f823bad3a710af483bf93195c4f;p=python Remove an unneeded variable assignment. Found using Clang's static analyzer. --- 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;