aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-17 13:44:54 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-17 22:26:25 +0200
commit65f585ce9b68b7d16e8efd70c3c05d453359c1e0 (patch)
tree5065e9e0cec31ea0b512a58b9ed5eda577d179a9 /src/nvim/event
parente75ccc3b3ac7e827d9e7a5661fa34365b32f629f (diff)
downloadrneovim-65f585ce9b68b7d16e8efd70c3c05d453359c1e0.tar.gz
rneovim-65f585ce9b68b7d16e8efd70c3c05d453359c1e0.tar.bz2
rneovim-65f585ce9b68b7d16e8efd70c3c05d453359c1e0.zip
fix(PVS/V547): "expression is always false"
Suppress warning in loop.c, the expression can be true if EXITFREE isn't defined.
Diffstat (limited to 'src/nvim/event')
-rw-r--r--src/nvim/event/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/event/loop.c b/src/nvim/event/loop.c
index 89fced59c5..d4e20e2f66 100644
--- a/src/nvim/event/loop.c
+++ b/src/nvim/event/loop.c
@@ -143,7 +143,7 @@ bool loop_close(Loop *loop, bool wait)
while (true) {
// Run the loop to tickle close-callbacks (which should then free memory).
// Use UV_RUN_NOWAIT to avoid a hang. #11820
- uv_run(&loop->uv, didstop ? UV_RUN_DEFAULT : UV_RUN_NOWAIT);
+ uv_run(&loop->uv, didstop ? UV_RUN_DEFAULT : UV_RUN_NOWAIT); // -V547
if ((uv_loop_close(&loop->uv) != UV_EBUSY) || !wait) {
break;
}