1
0
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:
Zdenek Kabelac 2024-07-29 17:29:08 +02:00
parent e150931fc4
commit aa75e1f0bf

View File

@ -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;