main - cov: void unused result
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8a92f7070941172e1671cf6b0fd1296776daefb7 Commit: 8a92f7070941172e1671cf6b0fd1296776daefb7 Parent: f69ff4b84a559a5795479489cf834fc0c3999e8d Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Mar 15 10:49:20 2021 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Mar 15 11:13:24 2021 +0100
cov: void unused result
--- lib/device/bcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/device/bcache.c +2 -2
@@ -1401,7 +1401,7 @@ bool bcache_invalidate_di(struct bcache *cache, int di)radix_tree_iterate (cache->rtree, k.bytes, k.bytes +sizeof (k.parts.di), &it.it);if (it.success) -radix_tree_remove_prefix (cache->rtree, k.bytes, k.bytes +sizeof (k.parts.di)); + (void )radix_tree_remove_prefix (cache->rtree, k.bytes, k.bytes +sizeof (k.parts.di));return it.success; }
@@ -1436,7 +1436,7 @@ void bcache_abort_di(struct bcache *cache, int di) it.visit = _abort_v;radix_tree_iterate (cache->rtree, k.bytes, k.bytes +sizeof (k.parts.di), &it); -radix_tree_remove_prefix (cache->rtree, k.bytes, k.bytes +sizeof (k.parts.di)); + (void )radix_tree_remove_prefix (cache->rtree, k.bytes, k.bytes +sizeof (k.parts.di)); }//----------------------------------------------------------------