Skip to content

Commit fdb179e

Browse files
committed
verity: Avoid false positive unititialized warning.
1 parent b91aee4 commit fdb179e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/verity/verity.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ int VERITY_activate(struct crypt_device *cd,
303303
{
304304
uint64_t dmv_flags;
305305
int r;
306-
key_serial_t kid;
306+
key_serial_t kid = 0;
307307
char *description = NULL;
308308
struct crypt_dm_active_device dmd = { 0 };
309309

0 commit comments

Comments
 (0)