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 /support.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 'support.cc')
-rw-r--r-- | support.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ uint64_t GetSectorNum(uint64_t low, uint64_t high, uint64_t def, uint64_t sSize, // compiled with GCC (and so the value is rejected), whereas when VC++ // is used, the default value is returned. uint64_t IeeeToInt(string inValue, uint64_t sSize, uint64_t low, uint64_t high, uint64_t def) { - uint64_t response = def, bytesPerUnit = 1, mult = 1, divide = 1; + uint64_t response = def, bytesPerUnit, mult = 1, divide = 1; size_t foundAt = 0; char suffix = ' ', plusFlag = ' '; string suffixes = "KMGTPE"; |