Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion fuzztest/internal/domains/protobuf_domain_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,8 @@ class ProtobufDomainUntypedImpl
auto v = self.GetValue(corpus_copy);
// We need to roundtrip through serialization to really dedup. The
// reflection API alone doesn't cut it.
v->ParsePartialFromString(v->SerializePartialAsString());
static_cast<void>(
v->ParsePartialFromString(v->SerializePartialAsString()));
if (v->GetReflection()->FieldSize(*v, field) ==
domain.GetValue(copy).size()) {
// The number of entries is the same, so accept the change.
Expand Down
Loading