mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
ui_bridge: Silence PVS/V547: assuming stopped may be changed via ptr
This commit is contained in:
@@ -116,7 +116,7 @@ static void ui_bridge_stop(UI *b)
|
|||||||
uv_mutex_lock(&bridge->mutex);
|
uv_mutex_lock(&bridge->mutex);
|
||||||
stopped = bridge->stopped;
|
stopped = bridge->stopped;
|
||||||
uv_mutex_unlock(&bridge->mutex);
|
uv_mutex_unlock(&bridge->mutex);
|
||||||
if (stopped) {
|
if (stopped) { // -V547
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
loop_poll_events(&main_loop, 10); // Process one event.
|
loop_poll_events(&main_loop, 10); // Process one event.
|
||||||
|
Reference in New Issue
Block a user