test: fix -Wunused-function warning
The function is only used on BSDs. Introduced in commit 919b92d9 ("unix:
support long path names in pipe.c") from a few days ago.
This commit is contained in:
parent
58418d5310
commit
7ff6d779b5
@ -371,11 +371,12 @@ TEST_IMPL(pipe_getsockname_blocking) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef SOCK_MAXADDRLEN
|
||||
static void long_path_connect_cb(uv_connect_t* req, int status) {
|
||||
ASSERT_OK(status);
|
||||
uv_close((uv_handle_t*) req->handle, NULL);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
TEST_IMPL(pipe_getsockname_long_path) {
|
||||
#ifndef SOCK_MAXADDRLEN
|
||||
|
||||
Loading…
Reference in New Issue
Block a user