From 6d7b7be9905a8f823bad3a710af483bf93195c4f Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 4 May 2010 00:57:44 +0000 Subject: [PATCH] Remove an unneeded variable assignment. Found using Clang's static analyzer. --- Modules/socketmodule.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 0625acb30df..6b163f43bf6 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;