[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH parted 4/4] dasd: Fix unused variable warning
From: |
Hans de Goede |
Subject: |
[PATCH parted 4/4] dasd: Fix unused variable warning |
Date: |
Fri, 6 Nov 2009 17:50:52 +0100 |
* libparted/labels/dasd.c (dasd_get_partition_alignment): Fix unused
variable warning.
---
libparted/labels/dasd.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libparted/labels/dasd.c b/libparted/labels/dasd.c
index eda2709..6bf0a06 100644
--- a/libparted/labels/dasd.c
+++ b/libparted/labels/dasd.c
@@ -741,7 +741,6 @@ dasd_get_max_supported_partition_count (const PedDisk*
disk, int *max_n)
static PedAlignment*
dasd_get_partition_alignment(const PedDisk *disk)
{
- DasdDiskSpecific* disk_specific = disk->disk_specific;
LinuxSpecific *arch_specific = LINUX_SPECIFIC(disk->dev);
PedSector sector_size =
arch_specific->real_sector_size / disk->dev->sector_size;
--
1.6.5.2