mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 20:49:37 +00:00
build: fix gcc false positive 'stringop-overflow' warning
This commit is contained in:
parent
83d8f03c23
commit
fa9e54b6ee
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ namespace cryptonote
|
||||||
out_amounts[1] += out_amounts[0];
|
out_amounts[1] += out_amounts[0];
|
||||||
for (size_t n = 1; n < out_amounts.size(); ++n)
|
for (size_t n = 1; n < out_amounts.size(); ++n)
|
||||||
out_amounts[n - 1] = out_amounts[n];
|
out_amounts[n - 1] = out_amounts[n];
|
||||||
out_amounts.resize(out_amounts.size() - 1);
|
out_amounts.pop_back();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue