Marked unused parameter in net_socket.c
Found by clang on FreeBSD
This commit is contained in:
parent
d2e038ab24
commit
3f4855587c
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ static bool bind_to_interface(int sd) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#else /* if !defined(SOL_SOCKET) || !defined(SO_BINDTODEVICE) */
|
#else /* if !defined(SOL_SOCKET) || !defined(SO_BINDTODEVICE) */
|
||||||
|
UNUSED(sd);
|
||||||
logger(DEBUG_ALWAYS, LOG_WARNING, "%s not supported on this platform", "BindToInterface");
|
logger(DEBUG_ALWAYS, LOG_WARNING, "%s not supported on this platform", "BindToInterface");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue