commit | 329137590ed5b8a412abda031bdd4c38ab85ac12 | [log] [tgz] |
---|---|---|
author | Mirko Bonadei <mbonadei@webrtc.org> | Sat Oct 30 15:56:24 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Oct 31 12:40:38 2021 |
tree | aa45121774b1250ee63a3fa33a29502fe5007944 | |
parent | 2b10c479cef4d2390251343be1c9d8a4a270634f [diff] |
Fix -Wunused-but-set-variable. This is part of a set of CLs to fix the Chromium roll. Bug: None Change-Id: I7cc1e5b84a2443f311fb4e047954d7d4d9c41189 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/236761 Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35284}
diff --git a/rtc_tools/sanitizers_unittest.cc b/rtc_tools/sanitizers_unittest.cc index 9606f42..eec037c 100644 --- a/rtc_tools/sanitizers_unittest.cc +++ b/rtc_tools/sanitizers_unittest.cc
@@ -55,6 +55,7 @@ void SignedIntegerOverflow() { int32_t x = 1234567890; x *= 2; + (void)x; } // For ubsan_vptr:
diff --git a/system_wrappers/source/cpu_features_linux.cc b/system_wrappers/source/cpu_features_linux.cc index 335bed4..2d79dde 100644 --- a/system_wrappers/source/cpu_features_linux.cc +++ b/system_wrappers/source/cpu_features_linux.cc
@@ -66,6 +66,7 @@ } #endif // WEBRTC_GLIBC_PREREQ(2, 16) #if defined(__aarch64__) + (void)platform; architecture = 8; if ((hwcap & HWCAP_FP) != 0) result |= kCPUFeatureVFPv3;