summaryrefslogtreecommitdiff
path: root/source/cbz/muimg.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/cbz/muimg.c')
-rw-r--r--source/cbz/muimg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/cbz/muimg.c b/source/cbz/muimg.c
index a288a4f4..0680c15a 100644
--- a/source/cbz/muimg.c
+++ b/source/cbz/muimg.c
@@ -145,8 +145,6 @@ img_open_document(fz_context *ctx, const char *filename)
img_document *doc;
stm = fz_open_file(ctx, filename);
- if (!stm)
- fz_throw(ctx, FZ_ERROR_GENERIC, "cannot open file '%s': %s", filename, strerror(errno));
fz_try(ctx)
doc = img_open_document_with_stream(ctx, stm);