]> sourceware.org Git - lvm2.git/commitdiff
cov: ignore close result
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 15 Oct 2021 12:42:34 +0000 (14:42 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 15 Oct 2021 21:40:29 +0000 (23:40 +0200)
test/unit/bcache_utils_t.c

index daed0ce399692c8119c8e499c33cec86447b19c6..f05292474aba308eda8b3c8ddbc99233326e1b4f 100644 (file)
@@ -86,7 +86,7 @@ static void *_fix_init(struct io_engine *engine)
        }
 
        if (!_runs_is_tmpfs) {
-               close(f->fd);
+               (void) close(f->fd);
                // reopen with O_DIRECT
                f->fd = open(f->fname, O_RDWR | O_DIRECT);
                T_ASSERT(f->fd >= 0);
This page took 0.031814 seconds and 5 git commands to generate.