win: initialize INIT_ONCE field with dedicated initializer
Fixes: abc9767034 ("win: simplify uv_once implementation")
This commit is contained in:
parent
919b92d944
commit
90b1b97603
@ -279,7 +279,7 @@ typedef struct {
|
||||
DWORD tls_index;
|
||||
} uv_key_t;
|
||||
|
||||
#define UV_ONCE_INIT { 0, { NULL } }
|
||||
#define UV_ONCE_INIT { 0, INIT_ONCE_STATIC_INIT }
|
||||
|
||||
typedef struct uv_once_s {
|
||||
unsigned char unused;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user