From 93ac80037aefb1f57c7996db3ccfe440b6bc8308 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 1 Nov 2018 15:44:13 +0100 Subject: [PATCH] cov: mark warning as expected one (cherry picked from commit 9238b972c543a83fbd553cc44a916608809cfc53) Conflicts: base/data-struct/radix-tree-adaptive.c device_mapper/libdm-file.c --- libdm/libdm-file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libdm/libdm-file.c b/libdm/libdm-file.c index e7416f194..573564203 100644 --- a/libdm/libdm-file.c +++ b/libdm/libdm-file.c @@ -221,6 +221,8 @@ retry_fcntl: goto fail_close_unlink; } + /* coverity[leaked_handle] intentional leak of fd handle here */ + return 1; fail_close_unlink: