summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-07-31 14:12:59 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-07-31 14:20:28 +0800
commita5686409e83e4854321aa0982cc52e4e6f07c1dd (patch)
treee20c7ba321bcc6fb91def3e9e8a5b98e376d1d71 /net
parent4aebe485cfac86ebd945377c4398c625e3305b5d (diff)
ENGR00217401-2 android: fix build warning
Fix build warning bring in by Google's code Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 58a944f4f791..30eda52c9ceb 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -3354,7 +3354,7 @@ int tcp_nuke_addr(struct net *net, struct sockaddr *addr)
struct in_addr *in;
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
- struct in6_addr *in6;
+ struct in6_addr *in6 = NULL;
#endif
if (family == AF_INET) {
in = &((struct sockaddr_in *)addr)->sin_addr;