summaryrefslogtreecommitdiff
path: root/gptcurses.cc
diff options
context:
space:
mode:
authorRod Smith <rodsmith@rodsbooks.com>2021-03-17 21:57:12 -0400
committerRod Smith <rodsmith@rodsbooks.com>2021-03-17 21:59:18 -0400
commiteae9f7e2e1470ed2d5bc029180aa2adc88fbc4a7 (patch)
treedd82bf5ca410609032f73fe888a56d9f29ee3c93 /gptcurses.cc
parent80e66b25922ab78cf987f693bf5477e466b1443a (diff)
downloadsgdisk-eae9f7e2e1470ed2d5bc029180aa2adc88fbc4a7.tar.gz
Code cleanup based on 'infer' suggestions; mostly just dead stores.
One forgotten change
Diffstat (limited to 'gptcurses.cc')
-rw-r--r--gptcurses.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gptcurses.cc b/gptcurses.cc
index 71aa734..1fbaad2 100644
--- a/gptcurses.cc
+++ b/gptcurses.cc
@@ -437,7 +437,6 @@ void GPTDataCurses::MakeNewPart(void) {
move(LINES - 4, 0);
clrtobot();
while ((newFirstLBA < currentSpace->firstLBA) || (newFirstLBA > currentSpace->lastLBA)) {
- newFirstLBA = currentSpace->firstLBA;
move(LINES - 4, 0);
clrtoeol();
newFirstLBA = currentSpace->firstLBA;