Skip to content

Commit

Permalink
eliminate lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jun 12, 2022
1 parent 0f0e899 commit 1498305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions magick/pixel-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ static inline void SetPixelPacket(const Image *image,
SetPixelGreen(color,ClampToQuantum(pixel->green));
SetPixelBlue(color,ClampToQuantum(pixel->blue));
SetPixelOpacity(color,ClampToQuantum(pixel->opacity));
if (index == (IndexPacket *) NULL)
return;
if ((image->colorspace == CMYKColorspace) ||
(image->storage_class == PseudoClass))
SetPixelIndex(index,ClampToQuantum(pixel->index));
Expand Down

0 comments on commit 1498305

Please sign in to comment.