From: cristy Date: Tue, 19 Feb 2013 14:59:46 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4214 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf96e67439ab38056f2ec693bd0b0392c732cdf9;p=imagemagick --- diff --git a/MagickCore/distort.c b/MagickCore/distort.c index 1bca52e52..53227acdc 100644 --- a/MagickCore/distort.c +++ b/MagickCore/distort.c @@ -495,7 +495,7 @@ static double *GenerateCoefficients(const Image *image, number_coeff=10; break; default: - assert(! "Unknown Method Given"); /* just fail assertion */ + perror("unknown method given"); /* just fail assertion */ } /* allocate the array of coefficients needed */ @@ -1433,7 +1433,7 @@ static double *GenerateCoefficients(const Image *image, break; } /* you should never reach this point */ - assert(! "No Method Handler"); /* just fail assertion */ + perror("no method handler"); /* just fail assertion */ return((double *) NULL); }