mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: annotate known case
This commit is contained in:
parent
e150931fc4
commit
aa75e1f0bf
@ -44,6 +44,7 @@ static int _dev_has_md_magic(struct device *dev, uint64_t sb_offset)
|
||||
return_0;
|
||||
|
||||
if ((md_magic == MD_SB_MAGIC) ||
|
||||
/* coverity[result_independent_of_operands] */
|
||||
((MD_SB_MAGIC != xlate32(MD_SB_MAGIC)) && (md_magic == xlate32(MD_SB_MAGIC))))
|
||||
return 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user