From f8a44b73f012b99f3840006035b869ae82656445 Mon Sep 17 00:00:00 2001 From: ZyX Date: Mon, 9 Apr 2018 10:09:45 +0300 Subject: event/loop: Silence PVS/V547: condition is false in case of no timeout --- src/nvim/event/loop.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/nvim/event/loop.h b/src/nvim/event/loop.h index d1a40d5cc9..1b288fc4cb 100644 --- a/src/nvim/event/loop.h +++ b/src/nvim/event/loop.h @@ -53,6 +53,8 @@ typedef struct loop { } \ } while (0) +// -V:LOOP_PROCESS_EVENTS_UNTIL:547 + // Poll for events until a condition or timeout #define LOOP_PROCESS_EVENTS_UNTIL(loop, multiqueue, timeout, condition) \ do { \ -- cgit