Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=7b5d71bba81566c7b5d41c2bfa51a6286d73836d

commit 7b5d71bba81566c7b5d41c2bfa51a6286d73836d
Author: James Buren <[email protected]>
Date:   Sat Aug 18 18:13:10 2012 -0500

some changes to Partition

diff --git a/Partition.cc b/Partition.cc
index 0a4764e..e0d2fa8 100644
--- a/Partition.cc
+++ b/Partition.cc
@@ -17,33 +17,21 @@ Partition::~Partition()

void Partition::setNumber(unsigned long long number)
{
-  if(_number != 0)
-    return;
-
_number = number;
}

void Partition::setStart(unsigned long long start)
{
-  if(_start != 0)
-    return;
-
_start = start;
}

void Partition::setEnd(unsigned long long end)
{
-  if(_end != 0)
-    return;
-
_end = end;
}

void Partition::setSectors(unsigned long long sectors)
{
-  if(_sectors != 0)
-    return;
-
_sectors = sectors;
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to