extract.c: Remove unused internal flag
authorEric Biggers <ebiggers3@gmail.com>
Sun, 8 Jun 2014 14:56:54 +0000 (09:56 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 8 Jun 2014 14:56:54 +0000 (09:56 -0500)
src/extract.c

index 7c401551cc802235e3ea381ffa7dc8ac3e508552..42a52eb54ccf312398e5d85f16b9bfa7a94bda3a 100644 (file)
@@ -67,9 +67,8 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define WIMLIB_EXTRACT_FLAG_MULTI_IMAGE 0x80000000
-#define WIMLIB_EXTRACT_FLAG_FROM_PIPE   0x40000000
-#define WIMLIB_EXTRACT_FLAG_IMAGEMODE   0x20000000
+#define WIMLIB_EXTRACT_FLAG_FROM_PIPE   0x80000000
+#define WIMLIB_EXTRACT_FLAG_IMAGEMODE   0x40000000
 
 /* Keep in sync with wimlib.h  */
 #define WIMLIB_EXTRACT_MASK_PUBLIC                             \
@@ -1568,8 +1567,6 @@ extract_all_images(WIMStruct *wim, const tchar *target, int extract_flags)
        int image;
        const tchar *image_name;
 
-       extract_flags |= WIMLIB_EXTRACT_FLAG_MULTI_IMAGE;
-
        if (extract_flags & WIMLIB_EXTRACT_FLAG_NTFS) {
                ERROR("Cannot extract multiple images in NTFS extraction mode.");
                return WIMLIB_ERR_INVALID_PARAM;