parted/parted-1.9.0-extra-var.patch
Joel Andres Granados Moreno 15289757e3 New version.
2009-07-10 13:16:25 +00:00

27 lines
795 B
Diff

From c3bd7f40c18197d8092b80f0975d1e0486b686c7 Mon Sep 17 00:00:00 2001
From: Joel Granados Moreno <jgranado@redhat.com>
Date: Wed, 10 Jun 2009 17:33:42 +0200
Subject: [PATCH] Remove unnecessary variable.
* libparted/labels/fdasd.c (fdasd_get_geometry): The variable "s" is not
used in the function.
---
libparted/labels/fdasd.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libparted/labels/fdasd.c b/libparted/labels/fdasd.c
index 40ba8c9..4cf4eb0 100644
--- a/libparted/labels/fdasd.c
+++ b/libparted/labels/fdasd.c
@@ -773,7 +773,6 @@ fdasd_get_geometry (fdasd_anchor_t *anc, int f)
PDEBUG
int blksize = 0;
dasd_information_t dasd_info;
- char s[LINE_LENGTH];
if (ioctl(f, HDIO_GETGEO, &anc->geo) != 0)
fdasd_error(anc, unable_to_ioctl,
--
1.6.0.6