mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-20 15:40:55 +00:00
Minor change: don't define some local (unused) variables if LWIP_TCPIP_CORE_LOCKING=1
This commit is contained in:
parent
837cb42679
commit
613acd93c0
@ -517,10 +517,12 @@ lwip_sendto(int s, const void *data, int size, unsigned int flags,
|
||||
struct sockaddr *to, socklen_t tolen)
|
||||
{
|
||||
struct lwip_socket *sock;
|
||||
struct netbuf buf;
|
||||
struct ip_addr remote_addr;
|
||||
u16_t remote_port;
|
||||
int err;
|
||||
#if !LWIP_TCPIP_CORE_LOCKING
|
||||
struct netbuf buf;
|
||||
u16_t remote_port;
|
||||
#endif
|
||||
|
||||
sock = get_socket(s);
|
||||
if (!sock)
|
||||
|
Loading…
x
Reference in New Issue
Block a user