Skip to content

Commit

Permalink
verity: Avoid false positive unititialized warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroz committed Mar 7, 2025
1 parent b91aee4 commit fdb179e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/verity/verity.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ int VERITY_activate(struct crypt_device *cd,
{
uint64_t dmv_flags;
int r;
key_serial_t kid;
key_serial_t kid = 0;
char *description = NULL;
struct crypt_dm_active_device dmd = { 0 };

Expand Down

0 comments on commit fdb179e

Please sign in to comment.