mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-13 17:44:48 +02:00
initialize lpMsgBuf
This commit is contained in:
@@ -1640,7 +1640,7 @@ static int StopMonitor(wolfSSL_CRL_mfd_t mfd)
|
|||||||
|
|
||||||
#ifdef DEBUG_WOLFSSL
|
#ifdef DEBUG_WOLFSSL
|
||||||
#define SHOW_WINDOWS_ERROR() do { \
|
#define SHOW_WINDOWS_ERROR() do { \
|
||||||
LPVOID lpMsgBuf; \
|
LPVOID lpMsgBuf = NULL; \
|
||||||
DWORD dw = GetLastError(); \
|
DWORD dw = GetLastError(); \
|
||||||
FormatMessageA( \
|
FormatMessageA( \
|
||||||
FORMAT_MESSAGE_ALLOCATE_BUFFER | \
|
FORMAT_MESSAGE_ALLOCATE_BUFFER | \
|
||||||
|
Reference in New Issue
Block a user