]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 20 Apr 2014 15:54:56 +0000 (15:54 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 20 Apr 2014 15:54:56 +0000 (15:54 +0000)
MagickCore/fx.c

index a304342a2caf3d9885b0ac21727ecfc2677550f3..1c6ac2968d40f3edce68ad6ddcdd224fce612daa 100644 (file)
@@ -2108,11 +2108,7 @@ static double FxEvaluateSubexpression(FxInfo *fx_info,
   while (isspace((int) ((unsigned char) *expression)) != 0)
     expression++;
   if (*expression == '\0')
-    {
-      (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
-        "MissingExpression","`%s'",expression);
-      return(0.0);
-    }
+    return(0.0);
   *subexpression='\0';
   p=FxOperatorPrecedence(expression,exception);
   if (p != (const char *) NULL)