From d450603bb65b609f1c496e65f9aea70eca6d46a1 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 31 Jul 2011 01:37:39 +0000 Subject: [PATCH] --- coders/miff.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/coders/miff.c b/coders/miff.c index 25d28ccaa..3239a0790 100644 --- a/coders/miff.c +++ b/coders/miff.c @@ -2440,8 +2440,6 @@ static MagickBooleanType WriteMIFFImage(const ImageInfo *image_info, bzip_info.avail_out=(unsigned int) BZipMaxExtent(packet_size* image->columns); code=BZ2_bzCompress(&bzip_info,BZ_FINISH); - if (code != BZ_OK) - status=MagickFalse; length=(size_t) (bzip_info.next_out-(char *) compress_pixels); if (length != 0) { @@ -2467,8 +2465,6 @@ static MagickBooleanType WriteMIFFImage(const ImageInfo *image_info, lzma_info.next_out=compress_pixels; lzma_info.avail_out=packet_size*image->columns; code=lzma_code(&lzma_info,LZMA_FINISH); - if (code != LZMA_OK) - status=MagickFalse; length=(size_t) (lzma_info.next_out-compress_pixels); if (length > 6) { @@ -2494,8 +2490,6 @@ static MagickBooleanType WriteMIFFImage(const ImageInfo *image_info, zip_info.avail_out=(uInt) ZipMaxExtent(packet_size* image->columns); code=deflate(&zip_info,Z_FINISH); - if (code != Z_OK) - status=MagickFalse; length=(size_t) (zip_info.next_out-compress_pixels); if (length > 6) { -- 2.40.0