Skip to content

Commit

Permalink
Removed unnecessary statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Oct 17, 2021
1 parent b1d4280 commit 43ee149
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions coders/psd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3762,9 +3762,6 @@ static MagickBooleanType WritePSDImage(const ImageInfo *image_info,
const StringInfo
*icc_profile;

ImageType
type;

MagickBooleanType
status;

Expand Down Expand Up @@ -3803,9 +3800,6 @@ static MagickBooleanType WritePSDImage(const ImageInfo *image_info,
(void) WriteBlobMSBShort(image,psd_info.version); /* version */
for (i=1; i <= 6; i++)
(void) WriteBlobByte(image, 0); /* 6 bytes of reserved */
/* When the image has a color profile it won't be converted to gray scale */
type=IdentifyImageCoderType(image,exception);
(void) type;
if ((GetImageProfile(image,"icc") == (StringInfo *) NULL) &&
(SetImageGray(image,exception) != MagickFalse))
num_channels=(image->alpha_trait != UndefinedPixelTrait ? 2UL : 1UL);
Expand Down

0 comments on commit 43ee149

Please sign in to comment.