diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c
index 7eaf121..c3fc353 100644
--- a/MagickWand/mogrify.c
+++ b/MagickWand/mogrify.c
@@ -1688,11 +1688,8 @@
if (*option == '+')
(*image)->gamma=InterpretLocaleValue(argv[i+1],(char **) NULL);
else
- {
- (void) GammaImage(*image,InterpretLocaleValue(argv[i+1],
- (char **) NULL));
- InheritException(exception,&(*image)->exception);
- }
+ (void) GammaImage(*image,InterpretLocaleValue(argv[i+1],
+ (char **) NULL),exception);
break;
}
if ((LocaleCompare("gaussian-blur",option+1) == 0) ||
@@ -2126,8 +2123,7 @@
{
(void) SyncImageSettings(mogrify_info,*image);
(void) NegateImage(*image,*option == '+' ? MagickTrue :
- MagickFalse);
- InheritException(exception,&(*image)->exception);
+ MagickFalse,exception);
break;
}
if (LocaleCompare("noise",option+1) == 0)
@@ -7420,7 +7416,7 @@
*/
/* POSIBLE ERROR; what if image->mask already set */
image->mask=mask_image;
- (void) NegateImage(image->mask,MagickFalse);
+ (void) NegateImage(image->mask,MagickFalse,exception);
}
}
(void) CompositeImage(image,image->compose,composite_image,