]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 8 Apr 2010 22:49:59 +0000 (22:49 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 8 Apr 2010 22:49:59 +0000 (22:49 +0000)
magick/exception.c

index 39e2c4be163903cb4c7b79a51952d9a13e536b31..666ee342481eb2b3b9ef19145a92f02855b6e193 100644 (file)
@@ -455,6 +455,7 @@ MagickExport char *GetExceptionMessage(const int error)
   char
     exception[MaxTextExtent];
 
+  *exception='\0';
 #if defined(MAGICKCORE_HAVE_STRERROR_R)
   (void) strerror_r(error,exception,sizeof(exception));
 #else