X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=inline;f=src%2Fwimboot.c;h=1650de99bb2fc99b986c603e31693ca125cc6acc;hb=ef03f83cc940d87f75140b7a8bc1199f4ff22aab;hp=467f9fb389c5dcd967cfb65e14bacae9e724d7e4;hpb=0ae7e5538476723feb14f07a478b92210e24a21b;p=wimlib diff --git a/src/wimboot.c b/src/wimboot.c index 467f9fb3..1650de99 100644 --- a/src/wimboot.c +++ b/src/wimboot.c @@ -586,7 +586,7 @@ retry: status = (*func_RtlCreateSystemVolumeInformationFolder)(&str); - err2 = (*func_RtlNtStatusToDosError)(status); + err2 = RtlNtStatusToDosError(status); if (err2 == ERROR_SUCCESS) { if (!already_retried) { already_retried = true; @@ -798,10 +798,10 @@ update_wimoverlay_manually(const wchar_t *drive, const wchar_t *wim_path, wchar_t path_backup[] = L"A:\\System Volume Information\\WimOverlay.backup"; wchar_t path_wimlib_backup[] = L"A:\\System Volume Information\\WimOverlay.wimlib_backup"; wchar_t path_new[] = L"A:\\System Volume Information\\WimOverlay.wimlib_new"; - void *old_contents; - void *new_contents; - u32 new_contents_size; - u64 new_data_source_id; + void *old_contents = NULL; + void *new_contents = NULL; + u32 new_contents_size = 0; + u64 new_data_source_id = -1; int ret; wimlib_assert(drive[0] != L'\0' &&