* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious
warning.
This commit is contained in:
parent
7b61e6096b
commit
dfd240b122
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2010-11-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to
|
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to
|
||||||
|
|
|
@ -105,7 +105,7 @@ static grub_err_t
|
||||||
grub_mdraid_detect (grub_disk_t disk, struct grub_raid_array *array,
|
grub_mdraid_detect (grub_disk_t disk, struct grub_raid_array *array,
|
||||||
grub_disk_addr_t *start_sector)
|
grub_disk_addr_t *start_sector)
|
||||||
{
|
{
|
||||||
grub_disk_addr_t sector;
|
grub_disk_addr_t sector = 0;
|
||||||
grub_uint64_t size;
|
grub_uint64_t size;
|
||||||
struct grub_raid_super_1x sb;
|
struct grub_raid_super_1x sb;
|
||||||
grub_uint8_t minor_version;
|
grub_uint8_t minor_version;
|
||||||
|
|
Loading…
Reference in a new issue