Remove stray debugging code

This commit is contained in:
Rod Smith
2021-10-09 15:52:16 -04:00
parent 1ae2f1769f
commit 1e084b3ac2
2 changed files with 6 additions and 1 deletions

6
NEWS
View File

@@ -1,3 +1,9 @@
1.0.9 (?/?/2021):
-----------------
- Removed stray debugging code that caused "partNum is {x}" to be printed
when changing a partition's name with sgdisk (-c/--change-name).
1.0.8 (6/9/2021):
-----------------

View File

@@ -212,7 +212,6 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) {
partNum = (int) GetInt(partName, 1) - 1;
if (partNum < 0)
partNum = newPartNum;
cout << "partNum is " << partNum << "\n";
if ((partNum >= 0) && (partNum < (int) GetNumParts())) {
name = GetString(partName, 2);
if (SetName(partNum, (UnicodeString) name.c_str())) {