From 66592dd7dcf325b39ca110ba53fa6443d0b9825f Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 26 May 2014 20:51:24 -0500 Subject: [PATCH] extract.c: Remove unused internal flag --- src/extract.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/extract.c b/src/extract.c index 24c3e751..7c401551 100644 --- a/src/extract.c +++ b/src/extract.c @@ -114,7 +114,6 @@ dentry_is_supported(struct wim_dentry *dentry, #define PWM_ALLOW_WIM_HDR 0x00001 -#define PWM_SILENT_EOF 0x00002 /* Read the header from a stream in a pipable WIM. */ static int @@ -164,8 +163,7 @@ read_pwm_stream_header(WIMStruct *pwm, struct wim_lookup_table_entry *lte, return 0; read_error: - if (ret != WIMLIB_ERR_UNEXPECTED_END_OF_FILE || !(flags & PWM_SILENT_EOF)) - ERROR_WITH_ERRNO("Error reading pipable WIM from pipe"); + ERROR_WITH_ERRNO("Error reading pipable WIM from pipe"); return ret; } -- 2.46.1