"ISO C90 forbids mixed declarations and code"

This commit is contained in:
Danack
2023-03-01 18:57:44 +00:00
parent 7e61b9523d
commit 69f15b77ae
+1 -2
View File
@@ -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);