From: cristy Date: Sun, 20 Apr 2014 15:54:56 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc569d8eb683a9373580c15e4590d08428ff61d5;p=imagemagick --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index a304342a2..1c6ac2968 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -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)