mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +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);
|
||||
stopped = bridge->stopped;
|
||||
uv_mutex_unlock(&bridge->mutex);
|
||||
if (stopped) {
|
||||
if (stopped) { // -V547
|
||||
break;
|
||||
}
|
||||
loop_poll_events(&main_loop, 10); // Process one event.
|
||||
|
Reference in New Issue
Block a user