diff --git a/ChangeLog b/ChangeLog index 938252ed3..8995ea27f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-10 Vladimir Serbinenko + + * grub-core/disk/ldm.c (grub_util_get_ldm): Remove unused variables. + (grub_util_ldm_embed): Likewise. + 2012-02-10 Vladimir Serbinenko * util/grub-editenv.c (print_var): Rename name to varname to diff --git a/grub-core/disk/ldm.c b/grub-core/disk/ldm.c index b4b566f32..154c8c98a 100644 --- a/grub-core/disk/ldm.c +++ b/grub-core/disk/ldm.c @@ -832,7 +832,6 @@ grub_util_get_ldm (grub_disk_t disk, grub_disk_addr_t start) struct grub_diskfilter_pv *pv = NULL; struct grub_diskfilter_vg *vg = NULL; struct grub_diskfilter_lv *res, *lv; - int i; pv = grub_diskfilter_get_pv_from_disk (disk, &vg); @@ -927,7 +926,6 @@ grub_util_ldm_embed (struct grub_disk *disk, unsigned int *nsectors, for (lv = vg->lvs; lv; lv = lv->next) { struct grub_diskfilter_lv *comp; - struct grub_ldm_partition *part; if (!lv->visible || !lv->fullname) continue;