warning C6001
kouzhudong opened this issue · comments
correy commented
packages\Microsoft.Windows.ImplementationLibrary.1.0.230629.1\include\wil\resource.h(5599): warning C6001: 使用未初始化的内存“*hClientHandle”。
Duncan Horn commented
Analyzer is complaining here:
inline void __stdcall CloseWlanHandle(_Frees_ptr_ HANDLE hClientHandle)
{
::WlanCloseHandle(hClientHandle, nullptr); // <======== HERE
}
Not so sure that _Frees_ptr_
is the correct annotation