Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/third_party/libwebrtc/moz-patch-stack/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  0139.patch   Sprache: unbekannt

 
Spracherkennung für: .patch vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

From: Michael Froman <mfroman@mozilla.com>
Date: Thu, 5 Dec 2024 13:45:00 -0600
Subject: Bug 1934695 - (fix-3fa21c89c0) fix upstream compile issue in
 apm_data_dumper.h

It is unclear why upstream modified a single DumpRaw call differently than
all the others, but it doesn't build for us.  We'll fix it the same they
fixed all the other calls using [[maybe_unused]] annotations.
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/8f64d5713228e3112f3014d9a269dce10795febf
---
 modules/audio_processing/logging/apm_data_dumper.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/audio_processing/logging/apm_data_dumper.h b/modules/audio_processing/logging/apm_data_dumper.h
index 09d24bd034..d05b580b09 100644
--- a/modules/audio_processing/logging/apm_data_dumper.h
+++ b/modules/audio_processing/logging/apm_data_dumper.h
@@ -348,9 +348,9 @@ class ApmDataDumper {
 #endif
   }
 
-  void DumpRaw(absl::string_view /* name */,
-               rtc::ArrayView<const size_t> /* v */,
-               int /* dump_set */ = kDefaultDumpSet) {
+  void DumpRaw([[maybe_unused]] absl::string_view name,
+               [[maybe_unused]] rtc::ArrayView<const size_t> v,
+               [[maybe_unused]] int dump_set = kDefaultDumpSet) {
 #if WEBRTC_APM_DEBUG_DUMP == 1
     if (dump_set_to_use_ && *dump_set_to_use_ != dump_set)
       return;

[ Dauer der Verarbeitung: 0.40 Sekunden  ]