From 9b220db2c89a77b9faa930977e7e6b323715779d Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 5 Aug 2018 18:02:28 -0400 Subject: [PATCH] ... --- PerlMagick/Magick.xs | 7 ++----- PerlMagick/quantum/quantum.xs.in | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/PerlMagick/Magick.xs b/PerlMagick/Magick.xs index 7633093e6..607ffde17 100644 --- a/PerlMagick/Magick.xs +++ b/PerlMagick/Magick.xs @@ -7675,9 +7675,6 @@ Mogrify(ref,...) *image, *next; - MagickBooleanType - status; - MagickStatusType flags; @@ -11468,8 +11465,8 @@ Mogrify(ref,...) if (attribute_flag[5] != 0) channel=(ChannelType) argument_list[5].integer_reference; channel_mask=SetImageChannelMask(image,channel); - image=RangeThresholdImage(image,geometry_info.rho,geometry_info.sigma, - geometry_info.xi,geometry_info.psi,exception); + (void) RangeThresholdImage(image,geometry_info.rho, + geometry_info.sigma,geometry_info.xi,geometry_info.psi,exception); if (image != (Image *) NULL) (void) SetImageChannelMask(image,channel_mask); break; diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index 3297af940..2f62b867f 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -11470,8 +11470,8 @@ Mogrify(ref,...) if (attribute_flag[5] != 0) channel=(ChannelType) argument_list[5].integer_reference; channel_mask=SetImageChannelMask(image,channel); - image=RangeThresholdImage(image,geometry_info.rho,geometry_info.sigma, - geometry_info.xi,geometry_info.psi,exception); + (void) RangeThresholdImage(image,geometry_info.rho, + geometry_info.sigma,geometry_info.xi,geometry_info.psi,exception); if (image != (Image *) NULL) (void) SetImageChannelMask(image,channel_mask); break; -- 2.40.0