Merge branch 'backport-2266-fix-uninit-variable-glib-2-70' into 'glib-2-70'

Backport !2266 “fix uninitial variable” to glib-2-70

See merge request GNOME/glib!2271
This commit is contained in:
Emmanuele Bassi 2021-09-27 14:01:34 +00:00
commit 25009189d1

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,