From a027aa93ded89a89f065445ed70d250145e3defb Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 16 Dec 2024 15:48:02 -0800 Subject: [PATCH] mux_demux_api_fuzzer.cc: fix -Wshadow warning `bool mux` -> `use_mux_api` to avoid conflicting with WebPMux variable. Bug: webp:380121350 Change-Id: Ie3f8176efc296fae804c36ee0b27bf8e3034c6e8 --- tests/fuzzer/mux_demux_api_fuzzer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fuzzer/mux_demux_api_fuzzer.cc b/tests/fuzzer/mux_demux_api_fuzzer.cc index 4d853518..9d7307dd 100644 --- a/tests/fuzzer/mux_demux_api_fuzzer.cc +++ b/tests/fuzzer/mux_demux_api_fuzzer.cc @@ -24,7 +24,7 @@ namespace { -void MuxDemuxApiTest(std::string_view data_in, bool mux) { +void MuxDemuxApiTest(std::string_view data_in, bool use_mux_api) { const size_t size = data_in.size(); WebPData webp_data; WebPDataInit(&webp_data); @@ -34,7 +34,7 @@ void MuxDemuxApiTest(std::string_view data_in, bool mux) { // Extracted chunks and frames are not processed or decoded, // which is already covered extensively by the other fuzz targets. - if (mux) { + if (use_mux_api) { // Mux API WebPMux* mux = WebPMuxCreate(&webp_data, size & 2); if (!mux) return;