1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00

cov: hide intentionaly ptr arithmetic report

Only single region count is ever replaced with on-stack uint64_t.
This commit is contained in:
Zdenek Kabelac 2018-11-02 22:29:43 +01:00
parent 9238b972c5
commit a91ac41b93

View File

@ -5245,6 +5245,7 @@ static int _do_stats_create_regions(struct dm_stats *dms,
*/
this_start = (segments) ? segment_start : start;
this_len = (segments) ? segment_len : this_len;
/* coverity[ptr_arith] intentional */
if (!(r = dm_stats_create_region(dms, &region_ids[count],
this_start, this_len, step,
precise, bounds,