Disable warning C6387 coming from wil in win_http_transport due to SAL annotation (#4132)
* Disable warning C6387 coming from wil in win_http_transport * Disable warning C6387 coming from wil in win_http_transport header * Clang format fix for header file * Clang format fix for source file
This commit is contained in:
parent
f587bf9e79
commit
928c9cf6eb
@ -17,6 +17,8 @@
|
||||
#include <mutex>
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 6553)
|
||||
#pragma warning(disable : 6387) // An argument in result_macros.h may be '0', for the function
|
||||
// 'GetProcAddress'.
|
||||
#include <wil\resource.h>
|
||||
#pragma warning(pop)
|
||||
#include <winhttp.h>
|
||||
|
||||
@ -21,6 +21,8 @@
|
||||
#include <string>
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 6553)
|
||||
#pragma warning(disable : 6387) // An argument in result_macros.h may be '0', for the function
|
||||
// 'GetProcAddress'.
|
||||
#include <wil/resource.h> // definitions for wil::unique_cert_chain_context and other RAII type wrappers for Windows types.
|
||||
#pragma warning(pop)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user