From e9d0fa0116b81a0d6abeecc770acaf87499b0ff5 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 20 Aug 2013 11:44:36 +0000 Subject: [PATCH] more clang fixes --- src/transport/plugin_transport_udp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 0f76a6842..5d9d22f0a 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -1484,6 +1484,7 @@ session_cmp_it (void *cls, { struct IPv4UdpAddress * u4 = NULL; u4 = (struct IPv4UdpAddress *) address->address; + GNUNET_assert (NULL != u4); const struct sockaddr_in *s4 = (const struct sockaddr_in *) s->sock_addr; if ((0 == memcmp ((const void *) &u4->ipv4_addr,(const void *) &s4->sin_addr, sizeof (struct in_addr))) && (u4->u4_port == s4->sin_port)) @@ -1497,6 +1498,7 @@ session_cmp_it (void *cls, (s_addrlen == sizeof (struct sockaddr_in6))) { struct IPv6UdpAddress * u6 = NULL; + GNUNET_assert (NULL != u6); u6 = (struct IPv6UdpAddress *) address->address; const struct sockaddr_in6 *s6 = (const struct sockaddr_in6 *) s->sock_addr; if ((0 == memcmp (&u6->ipv6_addr, &s6->sin6_addr, sizeof (struct in6_addr))) && -- 2.25.1