aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSam Zackrisson <saza@webrtc.org>2018-06-25 14:21:53 +0200
committerCommit Bot <commit-bot@chromium.org>2018-06-26 07:22:08 +0000
commit44b98f9917415b6798cd654284db249d75ada8ea (patch)
tree12a2e7b87fe4bf349753e59235862856c5c4616b /test
parent84916937b70472715efe5682bc273e91c3a72695 (diff)
downloadwebrtc-44b98f9917415b6798cd654284db249d75ada8ea.tar.gz
Re-introduce a read of a bool in APM fuzzers
This slightly increases fuzzer coverage of the APM. (.25 % points more line coverage.) Bug: webrtc:9413 Change-Id: Ic992423f1dcf34fa0aa9649c8035a8e48b0ccdb2 Reviewed-on: https://webrtc-review.googlesource.com/85342 Reviewed-by: Alex Loiko <aleloi@webrtc.org> Commit-Queue: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23732}
Diffstat (limited to 'test')
-rw-r--r--test/fuzzers/audio_processing_configs_fuzzer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzzers/audio_processing_configs_fuzzer.cc b/test/fuzzers/audio_processing_configs_fuzzer.cc
index 03437f7fa5..f298760fa7 100644
--- a/test/fuzzers/audio_processing_configs_fuzzer.cc
+++ b/test/fuzzers/audio_processing_configs_fuzzer.cc
@@ -46,6 +46,7 @@ std::unique_ptr<AudioProcessing> CreateApm(test::FuzzDataHelper* fuzz_data,
// configurable public components of APM.
bool exp_agc = fuzz_data->ReadOrDefaultValue(true);
bool exp_ns = fuzz_data->ReadOrDefaultValue(true);
+ static_cast<void>(fuzz_data->ReadOrDefaultValue(true));
bool ef = fuzz_data->ReadOrDefaultValue(true);
bool raf = fuzz_data->ReadOrDefaultValue(true);
static_cast<void>(fuzz_data->ReadOrDefaultValue(true));