diff Modules/socketmodule.c @ 68102:e2f96bd29252

Issue #8914: fix various warnings from the Clang static analyzer v254.
author Brett Cannon <bcannon@gmail.com>
date Tue, 22 Feb 2011 20:15:44 +0000
parents 50d170bb71c7
children a2d61117c2d2
line wrap: on
line diff
--- a/Modules/socketmodule.c	Tue Feb 22 19:24:33 2011 +0000
+++ b/Modules/socketmodule.c	Tue Feb 22 20:15:44 2011 +0000
@@ -3407,7 +3407,7 @@
         goto finally;
     af = sa->sa_family;
     ap = NULL;
-    al = 0;
+    /* al = 0; */
     switch (af) {
     case AF_INET:
         ap = (char *)&((struct sockaddr_in *)sa)->sin_addr;