]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 5 Aug 2018 22:02:28 +0000 (18:02 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 5 Aug 2018 22:02:28 +0000 (18:02 -0400)
PerlMagick/Magick.xs
PerlMagick/quantum/quantum.xs.in

index 7633093e6264f1991bd6d156ad1d2d4dd1659f2a..607ffde17efda3d04924e228d39a9745dc5b89e5 100644 (file)
@@ -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;
index 3297af940228013c3e51f576fbd64a141161a0ef..2f62b867fbc8c00ab2701da481ab3d78d81d9043 100644 (file)
@@ -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;