[asterisk-commits] mmichelson: branch mmichelson/acl-v6 r276487 - /team/mmichelson/acl-v6/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 14 15:39:15 CDT 2010


Author: mmichelson
Date: Wed Jul 14 15:39:04 2010
New Revision: 276487

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276487
Log:
Remove unnecessary initialization of sin6.


Modified:
    team/mmichelson/acl-v6/main/acl.c

Modified: team/mmichelson/acl-v6/main/acl.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/acl-v6/main/acl.c?view=diff&rev=276487&r1=276486&r2=276487
==============================================================================
--- team/mmichelson/acl-v6/main/acl.c (original)
+++ team/mmichelson/acl-v6/main/acl.c Wed Jul 14 15:39:04 2010
@@ -319,7 +319,7 @@
  */ 
 static void map_mask(struct ast_sockaddr *input, struct ast_sockaddr *output)
 {
-	struct sockaddr_in6 sin6 = {0,};
+	struct sockaddr_in6 sin6;
 	if (!ast_sockaddr_is_any(input)) {
 		make_v4_mapped(input, output);
 		return;




More information about the asterisk-commits mailing list