file_sys/ips_layer: Remove unnecessary reserve() call

Given 'replace' is assigned to on the following line, this isn't
necessary, given the underlying data is going to be overwritten
entirely.
This commit is contained in:
Lioncash 2019-06-12 18:12:41 -04:00
parent 7e2bcf04b4
commit 18c1d91920
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -287,7 +287,6 @@ void IPSwitchCompiler::Parse() {
} else {
// hex replacement
const auto value = patch_line.substr(9);
replace.reserve(value.size() / 2);
replace = Common::HexStringToVector(value, is_little_endian);
}