From 890363145a67ba606faaa2c2037f7f2156f76bda Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Mon, 19 Jul 2021 09:35:19 +0000 Subject: [PATCH] fuzzers: Fix function not returning a value warning This was preventing the dawn -> chromium autoroller Change-Id: Iea260e8b454766e08cdb69cea65222391a4022bd Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58680 Commit-Queue: Ben Clayton Kokoro: Kokoro Reviewed-by: Corentin Wallez Auto-Submit: Ben Clayton --- fuzzers/tint_ast_fuzzer/mutation.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fuzzers/tint_ast_fuzzer/mutation.cc b/fuzzers/tint_ast_fuzzer/mutation.cc index 0e5247100f..59c8878c83 100644 --- a/fuzzers/tint_ast_fuzzer/mutation.cc +++ b/fuzzers/tint_ast_fuzzer/mutation.cc @@ -32,7 +32,9 @@ std::unique_ptr Mutation::FromMessage( message.replace_identifier()); case protobufs::Mutation::MUTATION_NOT_SET: assert(false && "Mutation is not set"); + break; } + return nullptr; } } // namespace ast_fuzzer