]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 7 Jan 2014 15:34:13 +0000 (15:34 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 7 Jan 2014 15:34:13 +0000 (15:34 +0000)
MagickWand/identify.c

index 4d22427bc47fb8788479e3e4a8dbfebfb719de72..d45aa75d2068a49fe95954d83ac34afaf80a59d8 100644 (file)
@@ -762,13 +762,7 @@ WandExport MagickBooleanType IdentifyImageCommand(ImageInfo *image_info,
         if (LocaleCompare("matte",option+1) == 0)
           break;
         if (LocaleCompare("moments",option+1) == 0)
-          {
-            if (*option == '+')
-              break;
-            if (IsGeometry(argv[i]) == MagickFalse)
-              ThrowIdentifyInvalidArgumentException(option,argv[i]);
-            break;
-          }
+          break;
         if (LocaleCompare("monitor",option+1) == 0)
           break;
         ThrowIdentifyException(OptionError,"UnrecognizedOption",option)