blob: 0824eb6b9a3ed1ea5997040f3d7d941e334c282d [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001mbedtls: Disable documentation warning as error with clang
2
3There are shortcomings with doxygen info which clang-15+ flags, dont
4treat them as errors
5
6Remove unused variable
7
8Fixes
9library/bignum.c:1395:29: error: variable 't' set but not used [-Werror,-Wunused-but-set-variable]
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13--- a/third_party/openthread/repo/third_party/mbedtls/repo/library/bignum.c
14+++ b/third_party/openthread/repo/third_party/mbedtls/repo/library/bignum.c
Patrick Williams73bd93f2024-02-20 08:07:48 -060015@@ -1392,7 +1392,7 @@ void mpi_mul_hlp( size_t i,
16 mbedtls_mpi_uint *d,
17 mbedtls_mpi_uint b )
Andrew Geissler87f5cff2022-09-30 13:13:31 -050018 {
19- mbedtls_mpi_uint c = 0, t = 0;
Patrick Williams864cc432023-02-09 14:54:44 -060020+ mbedtls_mpi_uint c = 0, t __attribute__ ((unused)) = 0;
Andrew Geissler87f5cff2022-09-30 13:13:31 -050021
22 #if defined(MULADDC_HUIT)
23 for( ; i >= 8; i -= 8 )