1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

clang: remove unused assignment

This commit is contained in:
Zdenek Kabelac 2021-04-23 17:27:44 +02:00
parent 49caa9f3b1
commit 6a099707c4

View File

@ -55,7 +55,7 @@ static int _dev_has_md_magic(struct device *dev, uint64_t sb_offset)
static int _dev_has_imsm_magic(struct device *dev, uint64_t devsize_sectors)
{
char imsm_signature[IMSM_SIG_LEN];
uint64_t off = (devsize_sectors * 512) - 1024;
uint64_t off;
unsigned int physical_block_size = 0;
unsigned int logical_block_size = 0;