Merge branch 'main' into 'main'

fix uninitial variable

See merge request GNOME/glib!2266
This commit is contained in:
Philip Withnall 2021-09-27 13:39:48 +00:00
commit 4db9e24756

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,