From 3ce7244fbcb217641a3c0293646920aae37e97fc Mon Sep 17 00:00:00 2001 From: jmcmullan Date: Thu, 14 Jul 2011 12:09:50 +0000 Subject: [PATCH] partition.library: Clean up unused variables Signed-off-by: Jason S. McMullan git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@40093 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/partition/partitionebr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/rom/partition/partitionebr.c b/rom/partition/partitionebr.c index 6266538f7d..ed5236a5bf 100644 --- a/rom/partition/partitionebr.c +++ b/rom/partition/partitionebr.c @@ -282,7 +282,6 @@ static LONG PartitionEBRCreatePartitionTable static struct PartitionHandle *PartitionEBRAddPartition(struct Library *PartitionBase, struct PartitionHandle *root, struct TagItem *taglist) { struct TagItem *tag; - struct EBRData *data; ULONG block_no = 0, new_block_no, new_block_count, ebr_track_no, ebr_block_no; struct PartitionHandle *ph, *new_ph, *head; struct DosEnvec *de; @@ -320,7 +319,6 @@ static struct PartitionHandle *PartitionEBRAddPartition(struct Library *Partitio while (ph != head && !found) { - data = (struct EBRData *)ph->data; de = &ph->de; block_no = de->de_LowCyl * de->de_Surfaces * de->de_BlocksPerTrack; if (block_no < new_block_no) -- 2.11.4.GIT