diff options
| author | Kostya Serebryany <kcc@google.com> | 2018-07-19 03:16:12 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2018-07-19 03:16:12 +0000 |
| commit | 7a6295f2e1639d11416be38ae184478d207bb030 (patch) | |
| tree | 0bb5db97de262e43faedf8d64fa14a2e2f13badb /compiler-rt/lib/fuzzer/FuzzerMutate.cpp | |
| parent | 79bd14772f0be06e78b1107e96c8b34e3085e42d (diff) | |
| download | bcm5719-llvm-7a6295f2e1639d11416be38ae184478d207bb030.tar.gz bcm5719-llvm-7a6295f2e1639d11416be38ae184478d207bb030.zip | |
[libFuzzer] fix the bot (the no-assert build)
llvm-svn: 337437
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerMutate.cpp')
| -rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerMutate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerMutate.cpp b/compiler-rt/lib/fuzzer/FuzzerMutate.cpp index 9c2b8a5622e..ff076cca683 100644 --- a/compiler-rt/lib/fuzzer/FuzzerMutate.cpp +++ b/compiler-rt/lib/fuzzer/FuzzerMutate.cpp @@ -549,6 +549,7 @@ size_t MutationDispatcher::MutateWithMask(uint8_t *Data, size_t Size, assert(!T.empty()); size_t NewSize = Mutate(T.data(), OneBits, OneBits); assert(NewSize <= OneBits); + (void)NewSize; // Even if NewSize < OneBits we still use all OneBits bytes. for (size_t I = 0, J = 0; I < Size; I++) if (Mask[I]) |

