mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/disk/ldm.c (grub_util_get_ldm): Remove unused variables.
(grub_util_ldm_embed): Likewise.
This commit is contained in:
1 parent
9a7428e638
commit
6fa679671e
2 files changed
+5
-2
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/disk/ldm.c (grub_util_get_ldm): Remove unused variables.
|
||||
(grub_util_ldm_embed): Likewise.
|
||||
|
||||
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-editenv.c (print_var): Rename name to varname to
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user