diff options
author | Vitaly Buka <vitalybuka@google.com> | 2020-01-29 01:23:42 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@gmail.com> | 2020-02-04 16:35:14 -0800 |
commit | bcf4cd1ced759a75a0168eeea2de57ced22876bc (patch) | |
tree | 159f664039458c76bdca1c557bbbed45dc93a001 | |
parent | dbc4c0ff9965e5924204e21a783ce010f3ec3ab8 (diff) | |
download | libprotobuf-mutator-bcf4cd1ced759a75a0168eeea2de57ced22876bc.tar.gz |
Remove unnececary size_increase_hint adjustment
-rw-r--r-- | src/mutator.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mutator.cc b/src/mutator.cc index df49371..c445521 100644 --- a/src/mutator.cc +++ b/src/mutator.cc @@ -675,7 +675,6 @@ void Mutator::RegisterPostProcessor(const Descriptor* desc, bool Mutator::MutateImpl(const ConstMessages& sources, const Messages& messages, bool copy_clone_only, int size_increase_hint) { - if (size_increase_hint > 0) size_increase_hint /= 2; MutationBitset mutations; if (copy_clone_only) { mutations[static_cast<size_t>(Mutation::Copy)] = true; |