X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fextract.c;h=55508169a742179abfc964620f495e212ca23d6d;hp=8fbdd0d264ae91ee87f6a0963017c6fba0f91f8e;hb=3fa7b7a033ce803accfd6758029114323f6a6865;hpb=d212325562fd5de72b7c768532bd8c631db897d3 diff --git a/src/extract.c b/src/extract.c index 8fbdd0d2..55508169 100644 --- a/src/extract.c +++ b/src/extract.c @@ -720,7 +720,7 @@ WIMLIBAPI int wimlib_extract_image(WIMStruct *w, int image, struct lookup_table *joined_tab, *w_tab_save; int ret; - if (!w || !target) + if (!target) return WIMLIB_ERR_INVALID_PARAM; extract_flags &= WIMLIB_EXTRACT_MASK_PUBLIC;