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

commit cf27d89d9141edc63d543845c12cada11cf745dc
Author: James Buren <[email protected]>
Date:   Sun Aug 26 17:29:20 2012 -0500

Revert "add empty purpose for GptPartition"

This reverts commit 323690ce67f6af751e6e3228bcfdad1731ef9b67.

diff --git a/GptPartition.hh b/GptPartition.hh
index 684616a..9ff4570 100644
--- a/GptPartition.hh
+++ b/GptPartition.hh
@@ -27,8 +27,6 @@ public:
_gpt_type = "A19D880F-05FC-4D3B-A006-743F0F84911E";
else if(purpose == "lvm")
_gpt_type = "E6D6D379-F507-44C2-A23C-238F2A3DF928";
-    else if(purpose == "empty")
-      _gpt_type = "00000000-0000-0000-0000-000000000000";
}
string getType() { return _gpt_type; }
string getName() { return _gpt_name; }
@@ -49,8 +47,6 @@ public:
return "raid";
else if(_gpt_type == "E6D6D379-F507-44C2-A23C-238F2A3DF928")
return "lvm";
-    else if(_gpt_type == "00000000-0000-0000-0000-000000000000")
-      return "empty";
else
return "unknown";
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to