Skip to content

Commit b525d2c

Browse files
committed
[fix][ci]Fixed CI compilation failure in sal/src/sal_socket.c
1 parent e1c1a07 commit b525d2c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

components/net/sal/src/sal_socket.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -669,16 +669,13 @@ int sal_bind(int socket, const struct sockaddr *name, socklen_t namelen)
669669
{
670670
struct sal_socket *sock;
671671
struct sal_proto_family *pf;
672-
struct sockaddr_un *addr_un = RT_NULL;
673672
ip_addr_t input_ipaddr;
674673

675674
RT_ASSERT(name);
676675

677676
/* get the socket object by socket descriptor */
678677
SAL_SOCKET_OBJ_GET(sock, socket);
679678

680-
addr_un = (struct sockaddr_un *)name;
681-
682679
#define IS_INET_ADDR_FAMILY(_af) ((_af) == AF_INET) || ((_af) == AF_INET6)
683680
if (IS_INET_ADDR_FAMILY(name->sa_family))
684681
{

0 commit comments

Comments
 (0)