mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
opal: Fix benign gcc warning for possible uninitialized value.
This commit is contained in:
@@ -290,7 +290,7 @@ static int opal_range_check_attributes_fd(struct crypt_device *cd,
|
||||
{
|
||||
int r;
|
||||
struct opal_lr_status *lrs;
|
||||
uint32_t opal_block_bytes;
|
||||
uint32_t opal_block_bytes = 0;
|
||||
uint64_t offset, length;
|
||||
bool read_locked, write_locked;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user