]> granicus.if.org Git - imagemagick/blobdiff - MagickWand/wandcli.c
(no commit message)
[imagemagick] / MagickWand / wandcli.c
index 60786e9188485cde42796e61eccb188be2843ce5..79b41b9b032d68870e47b9b3d63d923ae1f0c187 100644 (file)
@@ -17,7 +17,7 @@
 %                                 April 2011                                  %
 %                                                                             %
 %                                                                             %
-%  Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization      %
+%  Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization      %
 %  dedicated to making software imaging solutions freely available.           %
 %                                                                             %
 %  You may not use this file except in compliance with the License.  You may  %
@@ -253,7 +253,7 @@ WandExport MagickBooleanType CLICatchException(MagickCLI *cli_wand,
   if ( IfMagickFalse(status) || IfMagickTrue(all_exceptions) )
     CatchException(cli_wand->wand.exception); /* output and clear exceptions */
 
-  return(status == MagickFalse ? 0 : 1);
+  return(status);
 }
 \f
 /*
@@ -299,7 +299,7 @@ WandExport MagickBooleanType CLILogEvent(MagickCLI *cli_wand,
   va_end(operands);
 
 
-  return(status == MagickFalse ? 0 : 1);
+  return(status);
 }
 \f
 /*
@@ -349,5 +349,5 @@ WandExport MagickBooleanType CLIThrowException(MagickCLI *cli_wand,
               module,function,line,
               severity,tag,new_format,operands);
   va_end(operands);
-  return(status == MagickFalse ? 0 : 1);
+  return(status);
 }