X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwimboot.c;fp=src%2Fwimboot.c;h=e8fecaf986a31e6a59260385e8aba97f3f8b62c1;hp=467f9fb389c5dcd967cfb65e14bacae9e724d7e4;hb=415bd4fd3ec1d99adb26b1f76b897aab07a4c27f;hpb=5e3d0c732c29487e19c36110cdc4fb8d5ffe46ad diff --git a/src/wimboot.c b/src/wimboot.c index 467f9fb3..e8fecaf9 100644 --- a/src/wimboot.c +++ b/src/wimboot.c @@ -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' &&