mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
socket.c: Ignore PVS/V547: False positive
https://github.com/neovim/neovim/pull/8218#issuecomment-383412049
This commit is contained in:
@@ -252,7 +252,7 @@ tcp_retry:
|
|||||||
}
|
}
|
||||||
status = 1;
|
status = 1;
|
||||||
LOOP_PROCESS_EVENTS_UNTIL(&main_loop, NULL, timeout, status != 1);
|
LOOP_PROCESS_EVENTS_UNTIL(&main_loop, NULL, timeout, status != 1);
|
||||||
if (status == 0) {
|
if (status == 0) { // -V547
|
||||||
stream_init(NULL, stream, -1, uv_stream);
|
stream_init(NULL, stream, -1, uv_stream);
|
||||||
success = true;
|
success = true;
|
||||||
} else if (is_tcp && addrinfo->ai_next) {
|
} else if (is_tcp && addrinfo->ai_next) {
|
||||||
|
Reference in New Issue
Block a user