ui_bridge: Silence PVS/V547: assuming stopped may be changed via ptr

This commit is contained in:
ZyX
2018-04-22 20:21:55 +03:00
parent 6c2b442ee0
commit 43df2edd20

View File

@@ -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.