From 7b3aca00fac79c2f39b3d2416d43ca5adfd02eab Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Fri, 18 Oct 2013 16:51:08 +0200 Subject: [PATCH] * grub-core/disk/luks.c (configure_ciphers): Fix spurious warning. --- ChangeLog | 4 ++++ grub-core/disk/luks.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6f852397f..b2808c324 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-10-18 Vladimir Serbinenko + + * grub-core/disk/luks.c (configure_ciphers): Fix spurious warning. + 2013-10-18 Vladimir Serbinenko * grub-core/fs/zfs/zfs_lz4.c: Check that __INTEL_COMPILER is diff --git a/grub-core/disk/luks.c b/grub-core/disk/luks.c index afcb7e4e1..b98055294 100644 --- a/grub-core/disk/luks.c +++ b/grub-core/disk/luks.c @@ -82,7 +82,7 @@ configure_ciphers (grub_disk_t disk, const char *check_uuid, const gcry_md_spec_t *hash = NULL, *essiv_hash = NULL; const struct gcry_cipher_spec *ciph; grub_cryptodisk_mode_t mode; - grub_cryptodisk_mode_iv_t mode_iv; + grub_cryptodisk_mode_iv_t mode_iv = GRUB_CRYPTODISK_MODE_IV_PLAIN64; int benbi_log = 0; grub_err_t err;