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}
This commit is contained in:
Mirko Bonadei 2021-10-30 17:56:24 +02:00 committed by WebRTC LUCI CQ
parent 2b10c479ce
commit 329137590e
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ TEST(SanitizersDeathTest, AddressSanitizer) {
void SignedIntegerOverflow() {
int32_t x = 1234567890;
x *= 2;
(void)x;
}
// For ubsan_vptr:

View File

@ -66,6 +66,7 @@ uint64_t GetCPUFeaturesARM(void) {
}
#endif // WEBRTC_GLIBC_PREREQ(2, 16)
#if defined(__aarch64__)
(void)platform;
architecture = 8;
if ((hwcap & HWCAP_FP) != 0)
result |= kCPUFeatureVFPv3;