From 36d90305c5305291c1554978fbaa8deaf0ad9914 Mon Sep 17 00:00:00 2001 From: cristy Date: Wed, 28 Jan 2015 01:15:00 +0000 Subject: [PATCH] --- coders/inline.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/coders/inline.c b/coders/inline.c index 79351cdfe..ed62996a9 100644 --- a/coders/inline.c +++ b/coders/inline.c @@ -267,9 +267,6 @@ static MagickBooleanType WriteINLINEImage(const ImageInfo *image_info, const MagickInfo *magick_info; - ExceptionInfo - *sans_exception; - ImageInfo *write_info; @@ -293,10 +290,7 @@ static MagickBooleanType WriteINLINEImage(const ImageInfo *image_info, if (image->debug != MagickFalse) (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); blob_length=2048; - sans_exception=AcquireExceptionInfo(); - blob=(unsigned char *) ImageToBlob(image_info,image,&blob_length, - sans_exception); - sans_exception=DestroyExceptionInfo(sans_exception); + blob=(unsigned char *) ImageToBlob(image_info,image,&blob_length,exception); if (blob == (unsigned char *) NULL) return(MagickFalse); encode_length=0; -- 2.40.0