From 11775485401ed9410fc339b54b07f88aa416b340 Mon Sep 17 00:00:00 2001 From: Larry Osterman Date: Tue, 29 Aug 2023 13:41:52 -0700 Subject: [PATCH] WIL headers and C++ static analysis don't always get along (#4918) * WIL headers and C++ static analysis don't always get along * Accidentally removed a header --- .../azure-identity/src/client_certificate_credential.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/identity/azure-identity/src/client_certificate_credential.cpp b/sdk/identity/azure-identity/src/client_certificate_credential.cpp index ef5eee716..5c478be81 100644 --- a/sdk/identity/azure-identity/src/client_certificate_credential.cpp +++ b/sdk/identity/azure-identity/src/client_certificate_credential.cpp @@ -21,8 +21,14 @@ #if defined(AZ_PLATFORM_WINDOWS) #include +#pragma warning(push) +#pragma warning(disable : 6553) +#pragma warning(disable : 6001) // Using uninitialized memory 'pNode'. +#pragma warning(disable : 6387) // An argument in result_macros.h may be '0', for the function + // 'GetProcAddress'. #include #include +#pragma warning(pop) #else #include #include