support C++20, reduce warning

This commit is contained in:
hyzboy 2024-07-26 03:26:13 +08:00
parent d80802ce9e
commit 103b0d845d
2 changed files with 4 additions and 4 deletions

View File

@ -12,11 +12,11 @@ namespace hgl
{
private:
DWORD result;
DWORD result=0;
void *console_handle;
void *console_handle=nullptr;
u16char buf[LOG_BUF_SIZE];
u16char buf[LOG_BUF_SIZE]{};
public:

View File

@ -10,7 +10,7 @@ namespace hgl
{
UTF16String name;
u16char buf[4096];
u16char buf[4096]{};
public: