coders/pgx.c: remove unused code

found by coverity

there's already check against NULL in line 176
This commit is contained in:
Ilya Shipitsin
2018-09-13 14:21:30 +05:00
committed by Dirk Lemstra
parent 97f723f5b1
commit 398efca483
-2
View File
@@ -221,8 +221,6 @@ static Image *ReadPGXImage(const ImageInfo *image_info,ExceptionInfo *exception)
break;
(void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info,
GrayQuantum,pixels,exception);
if (status == MagickFalse)
break;
if (SyncAuthenticPixels(image,exception) == MagickFalse)
break;
if (SetImageProgress(image,LoadImageTag,(MagickOffsetType) y,image->rows) == MagickFalse)