mirror of
https://github.com/Imagick/imagick.git
synced 2026-06-19 07:35:36 +00:00
"ISO C90 forbids mixed declarations and code"
This commit is contained in:
+1
-2
@@ -190,13 +190,12 @@ MagickBooleanType MagickClutImageChannel(
|
||||
) {
|
||||
MagickBooleanType status;
|
||||
ChannelType previous_channel_mask;
|
||||
PixelInterpolateMethod pixelInterpolateMethod;
|
||||
|
||||
if (channel != UndefinedChannel) {
|
||||
previous_channel_mask = MagickSetImageChannelMask(wand, channel);
|
||||
}
|
||||
|
||||
PixelInterpolateMethod pixelInterpolateMethod;
|
||||
|
||||
pixelInterpolateMethod = MagickGetInterpolateMethod(wand);
|
||||
status = MagickClutImage(wand, clut_wand, pixelInterpolateMethod);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user