Skip to content

Commit dfe1ba8

Browse files
committed
Removed duplicate eof check.
1 parent a993d5d commit dfe1ba8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

coders/pnm.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,12 +1345,6 @@ static Image *ReadPNMImage(const ImageInfo *image_info,ExceptionInfo *exception)
13451345
comment_info.comment=DestroyString(comment_info.comment);
13461346
if (y < (ssize_t) image->rows)
13471347
ThrowPNMException(CorruptImageError,"UnableToReadImageData");
1348-
if (EOFBlob(image) != MagickFalse)
1349-
{
1350-
(void) ThrowMagickException(exception,GetMagickModule(),
1351-
CorruptImageError,"UnexpectedEndOfFile","`%s'",image->filename);
1352-
break;
1353-
}
13541348
/*
13551349
Proceed to next image.
13561350
*/

0 commit comments

Comments
 (0)