diff options
author | Phillip Susi <psusi@ubuntu.com> | 2014-04-18 11:01:03 -0400 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2014-04-18 12:55:20 -0400 |
commit | d1ca2a5eacc2de4b9f755c10fcf8b14e6c1d2dc1 (patch) | |
tree | 82a0a600670378c0514b103c6a697436adf08cbe | |
parent | 33fdfa0f29d0d9c0135da6da80e6953d8f509b7b (diff) | |
download | parted-d1ca2a5eacc2de4b9f755c10fcf8b14e6c1d2dc1.tar.gz |
libparted: remove last_usable_if_grown
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.
-rw-r--r-- | libparted/labels/gpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |