X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fextract.c;h=1b7eb6bcf57935c0467d47b5a560e0842c6db6d3;hp=c6a3b561f5f9b7d4fd795a0de808b7c6d7499c49;hb=927b1829e714d177de9d38c2da7fcdc13be44ed0;hpb=3a43b576b75aea5993dee9b6ea23f691f3dd31d9 diff --git a/src/extract.c b/src/extract.c index c6a3b561..1b7eb6bc 100644 --- a/src/extract.c +++ b/src/extract.c @@ -2435,7 +2435,6 @@ extract_trees(WIMStruct *wim, struct wim_dentry **trees, size_t num_trees, ctx.progress.extract.target = target; } - ctx.progress.extract.extract_root_wim_source_path = T(""); ctx.target_dentry = wim_root_dentry(wim); /* Note: ctx.target_dentry represents the dentry that gets extracted to * @target. There may be none, in which case it gets set to the image @@ -2925,7 +2924,7 @@ extract_single_image(WIMStruct *wim, int image, const tchar *target, int extract_flags, wimlib_progress_func_t progress_func) { - const tchar *path = T(""); + const tchar *path = WIMLIB_WIM_ROOT_PATH; extract_flags |= WIMLIB_EXTRACT_FLAG_IMAGEMODE; return do_wimlib_extract_paths(wim, image, target, &path, 1, extract_flags, progress_func);