mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
fix: removed unused assigned
This commit is contained in:
parent
d9e2e47685
commit
9d941aacb9
@ -37,7 +37,7 @@ bool CRangesSet::Add(uint64_t value)
|
|||||||
if (next != ranges.end()) {
|
if (next != ranges.end()) {
|
||||||
if (next->begin == value + 1) {
|
if (next->begin == value + 1) {
|
||||||
new_range.end = next->end;
|
new_range.end = next->end;
|
||||||
it = ranges.erase(next);
|
ranges.erase(next);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const auto ret = ranges.insert(new_range);
|
const auto ret = ranges.insert(new_range);
|
||||||
|
Loading…
Reference in New Issue
Block a user