fix uninitial variable

This commit is contained in:
liuyangming 2021-09-27 18:35:37 +08:00 committed by Philip Withnall
parent 53b70ce88c
commit 8d884c21bf

View File

@ -372,7 +372,7 @@ _g_win32_readlink_handle_raw (HANDLE h,
{
DWORD error_code;
DWORD returned_bytes = 0;
BYTE *data;
BYTE *data = NULL;
gsize to_copy;
/* This is 16k. It's impossible to make DeviceIoControl() tell us
* the required size. NtFsControlFile() does have such a feature,