From: Eric Biggers Date: Tue, 27 May 2014 01:51:24 +0000 (-0500) Subject: extract.c: Remove unused internal flag X-Git-Tag: v1.7.0~82 X-Git-Url: https://wimlib.net/git/?a=commitdiff_plain;h=66592dd7dcf325b39ca110ba53fa6443d0b9825f;p=wimlib extract.c: Remove unused internal flag --- 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; }