diff options
author | Rod Smith <rodsmith@rodsbooks.com> | 2021-03-17 21:57:12 -0400 |
---|---|---|
committer | Rod Smith <rodsmith@rodsbooks.com> | 2021-03-17 21:59:18 -0400 |
commit | eae9f7e2e1470ed2d5bc029180aa2adc88fbc4a7 (patch) | |
tree | dd82bf5ca410609032f73fe888a56d9f29ee3c93 /gpttext.cc | |
parent | 80e66b25922ab78cf987f693bf5477e466b1443a (diff) | |
download | sgdisk-eae9f7e2e1470ed2d5bc029180aa2adc88fbc4a7.tar.gz |
Code cleanup based on 'infer' suggestions; mostly just dead stores.
One forgotten change
Diffstat (limited to 'gpttext.cc')
-rw-r--r-- | gpttext.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -251,7 +251,7 @@ void GPTDataTextUI::CreatePartition(void) { } while (IsFree(sector) == 0); lastBlock = sector; - firstFreePart = GPTData::CreatePartition(partNum, firstBlock, lastBlock); + GPTData::CreatePartition(partNum, firstBlock, lastBlock); partitions[partNum].ChangeType(); partitions[partNum].SetDefaultDescription(); } else { |