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

commit c3a60ea87ebf87ba162dd78966d2c9f7489d1a2b
Author: James Buren <[email protected]>
Date:   Mon Aug 27 17:05:17 2012 -0500

Revert "cache the name of the partition table when it is first loaded."

This reverts commit 72483c10112a36420be48f619e6421ee919a4de6.

diff --git a/Device.cc b/Device.cc
index 618d6f6..bb3507b 100644
--- a/Device.cc
+++ b/Device.cc
@@ -207,8 +207,6 @@ bool Device::read(const string &path)

_disk = disk;

-  _oldlabel = (table != 0) ? _table->getLabelType() : "";
-
_table = table;

_initialized = true;
diff --git a/Device.hh b/Device.hh
index e4f6683..5a4e7bf 100644
--- a/Device.hh
+++ b/Device.hh
@@ -70,7 +70,6 @@ private:
unsigned long long _alignment;
unsigned long long _sectors;
bool _disk;
-  string _oldlabel;
PartitionTable *_table;
bool _initialized;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to