From 8d7413bd5d0950b247ff118952b7151f16e3cbcf Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 13 Dec 2022 13:30:24 -0500 Subject: [PATCH] Fix mbedtls options to avoid new clang error --- third_party/mbedtls/mbedtls.gni | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/third_party/mbedtls/mbedtls.gni b/third_party/mbedtls/mbedtls.gni index 84513a631c854a..7397a3ec0f31bb 100644 --- a/third_party/mbedtls/mbedtls.gni +++ b/third_party/mbedtls/mbedtls.gni @@ -31,7 +31,10 @@ template("mbedtls_target") { ] if (is_clang) { - cflags += [ "-Wno-shorten-64-to-32" ] + cflags += [ + "-Wno-shorten-64-to-32", + "-Wno-unused-but-set-variable", # bignum.c: variable 't' set but not used + ] } }