From 1106f559f2a161b926aca0b67dea343deef3f980 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Fri, 29 Sep 2017 11:01:46 +0200 Subject: [PATCH] Minor changes to the changes in #788. --- MagickCore/stream.c | 2 +- coders/psd.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/MagickCore/stream.c b/MagickCore/stream.c index 0e022db22..b068cd384 100644 --- a/MagickCore/stream.c +++ b/MagickCore/stream.c @@ -1295,7 +1295,7 @@ MagickExport Image *StreamImage(const ImageInfo *image_info, if (stream_info->quantum_info == (QuantumInfo *) NULL) { read_info=DestroyImageInfo(read_info); - return (Image *) NULL; + return((Image *) NULL); } stream_info->exception=exception; read_info->client_data=(void *) stream_info; diff --git a/coders/psd.c b/coders/psd.c index dcdf22a1a..096172ddd 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -453,10 +453,7 @@ static MagickBooleanType ApplyPSDOpacityMask(Image *image,const Image *mask, complete_mask=CloneImage(image,image->columns,image->rows,MagickTrue, exception); if (complete_mask == (Image *) NULL) - { - status=MagickFalse; - return(status); - } + return(MagickFalse); complete_mask->alpha_trait=BlendPixelTrait; GetPixelInfo(complete_mask,&color); color.red=background; -- 2.40.0