]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 19 Feb 2013 14:59:46 +0000 (14:59 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 19 Feb 2013 14:59:46 +0000 (14:59 +0000)
MagickCore/distort.c

index 1bca52e52a00c45e0b44731e24d7c27faa4c2333..53227acdce725b8e10949b10b49794e7faacaac9 100644 (file)
@@ -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);
 }
 \f