From: dirk Date: Tue, 6 May 2014 05:19:15 +0000 (+0000) Subject: Fixed throwExceptionExplicit. X-Git-Tag: 7.0.1-0~2360 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6154196fb104c2ffdc7d6b49e095d6792803b802;p=imagemagick Fixed throwExceptionExplicit. --- diff --git a/Magick++/lib/Exception.cpp b/Magick++/lib/Exception.cpp index a6cd8c650..4927a9f5f 100644 --- a/Magick++/lib/Exception.cpp +++ b/Magick++/lib/Exception.cpp @@ -806,15 +806,12 @@ Magick::Exception* Magick::createException(const MagickCore::ExceptionInfo *exce MagickPPExport void Magick::throwExceptionExplicit( const ExceptionType severity_,const char* reason_,const char* description_) { - ExceptionInfo - exception; - // Just return if there is no reported error if (severity_ == UndefinedException) return; GetPPException; - ThrowException(&exception,severity_,reason_, description_); + ThrowException(&exceptionInfo,severity_,reason_, description_); ThrowPPException; }