* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious

warning.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-11-19 22:52:27 +01:00
parent 7b61e6096b
commit dfd240b122
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-11-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious
warning.
2010-11-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to

View file

@ -105,7 +105,7 @@ static grub_err_t
grub_mdraid_detect (grub_disk_t disk, struct grub_raid_array *array,
grub_disk_addr_t *start_sector)
{
grub_disk_addr_t sector;
grub_disk_addr_t sector = 0;
grub_uint64_t size;
struct grub_raid_super_1x sb;
grub_uint8_t minor_version;