[Python-checkins] r80743 - python/trunk/Modules/socketmodule.c
brett.cannon
python-checkins at python.org
Tue May 4 02:57:44 CEST 2010
Author: brett.cannon
Date: Tue May 4 02:57:44 2010
New Revision: 80743
Log:
Remove an unneeded variable assignment.
Found using Clang's static analyzer.
Modified:
python/trunk/Modules/socketmodule.c
Modified: python/trunk/Modules/socketmodule.c
==============================================================================
--- python/trunk/Modules/socketmodule.c (original)
+++ python/trunk/Modules/socketmodule.c Tue May 4 02:57:44 2010
@@ -3424,7 +3424,6 @@
return NULL;
af = sa->sa_family;
ap = NULL;
- al = 0;
switch (af) {
case AF_INET:
ap = (char *)&((struct sockaddr_in *)sa)->sin_addr;
More information about the Python-checkins
mailing list