mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity 83671 dead code
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
4bd1a4d4e0
commit
66a5faa633
1 changed files with 0 additions and 2 deletions
|
@ -356,8 +356,6 @@ interface_to_sa(struct libwebsocket_context *context,
|
|||
break;
|
||||
#ifdef LWS_USE_IPV6
|
||||
case AF_INET6:
|
||||
if (rc >= 0)
|
||||
break;
|
||||
memcpy(&addr6->sin6_addr,
|
||||
&((struct sockaddr_in6 *)ifc->ifa_addr)->sin6_addr,
|
||||
sizeof(struct in6_addr));
|
||||
|
|
Loading…
Add table
Reference in a new issue