From eae9f7e2e1470ed2d5bc029180aa2adc88fbc4a7 Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Wed, 17 Mar 2021 21:57:12 -0400 Subject: Code cleanup based on 'infer' suggestions; mostly just dead stores. One forgotten change --- gpttext.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpttext.cc') diff --git a/gpttext.cc b/gpttext.cc index ea34444..505f006 100644 --- a/gpttext.cc +++ b/gpttext.cc @@ -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 { -- cgit v1.2.1