On Fri, Apr 18, 2014 at 01:01:41PM -0400, Phillip Susi wrote: > Commit 3398e82a: "libparted: Use common function to calculate PTE sectors" > removed usage of the last_usable_if_grown variable, resulting in an error > because it is now unused but still defined. > --- > libparted/labels/gpt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c > index 6eff38a..5c8df59 100644 > --- a/libparted/labels/gpt.c > +++ b/libparted/labels/gpt.c > @@ -723,7 +723,7 @@ _parse_header (PedDisk *disk, const > GuidPartitionTableHeader_t *gpt, > GPTDiskData *gpt_disk_data = disk->disk_specific; > PedSector first_usable; > PedSector last_usable; > - PedSector last_usable_if_grown, last_usable_min_default; > + PedSector last_usable_if_grown; > static int asked_already; > > #ifndef DISCOVER_ONLY > -- > 1.9.1 > >
Ack -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

