mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-06-12 15:37:14 +02:00
coders/pgx.c: remove unused code
found by coverity there's already check against NULL in line 176
This commit is contained in:
committed by
Dirk Lemstra
parent
97f723f5b1
commit
398efca483
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user