From 40726138c812742d33698a57821845b7f143a522 Mon Sep 17 00:00:00 2001 From: Jon Simantov Date: Wed, 30 Nov 2022 11:16:00 -0800 Subject: [PATCH] Ignore C5264 ('const' variable is not used) warning in boringssl. --- scripts/git/patches/boringssl/0001-disable-warnings.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/git/patches/boringssl/0001-disable-warnings.patch b/scripts/git/patches/boringssl/0001-disable-warnings.patch index df67a10fcd..1a2ef0bf93 100644 --- a/scripts/git/patches/boringssl/0001-disable-warnings.patch +++ b/scripts/git/patches/boringssl/0001-disable-warnings.patch @@ -1,6 +1,6 @@ --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt -@@ -193,6 +193,10 @@ elseif(MSVC) +@@ -193,6 +193,11 @@ elseif(MSVC) # possible loss of data "C4244" # 'function' : conversion from 'int' to 'uint8_t', # possible loss of data @@ -8,6 +8,7 @@ + # '(void)' + "C4191" # 'operator/operation' : unsafe conversion from 'type of + # expression' to 'type required' ++ "C5264" # 'const' variable is not used "C4267" # conversion from 'size_t' to 'int', possible loss of data "C4371" # layout of class may have changed from a previous version of the # compiler due to better packing of member '...'