Merge pull request #4476

fa9e54b6 build: fix gcc false positive 'stringop-overflow' warning (xiphon)
release-v0.5.1
Riccardo Spagni 6 years ago
parent cf436cde1a
commit ca9b2493ee
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -127,7 +127,7 @@ namespace cryptonote
out_amounts[1] += out_amounts[0];
for (size_t n = 1; n < out_amounts.size(); ++n)
out_amounts[n - 1] = out_amounts[n];
out_amounts.resize(out_amounts.size() - 1);
out_amounts.pop_back();
}
}
else

Loading…
Cancel
Save