From: cristy Date: Sun, 8 Apr 2012 02:09:18 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5871 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e07716f89b6e7545568684fa5af42b97b5e4a15e;p=imagemagick --- diff --git a/Magick++/lib/Image.cpp b/Magick++/lib/Image.cpp index e63f4ca73..5012905a0 100644 --- a/Magick++/lib/Image.cpp +++ b/Magick++/lib/Image.cpp @@ -1561,6 +1561,7 @@ void Magick::Image::process( std::string name_, const ssize_t argc, const char * size_t status = InvokeDynamicImageFilter( name_.c_str(), &image(), argc, argv, &exceptionInfo ); + (void) status; throwException( exceptionInfo ); (void) DestroyExceptionInfo( &exceptionInfo ); } @@ -3573,6 +3574,7 @@ Magick::Color Magick::Image::pixelColor ( const ssize_t x_, { ClassType storage_class; storage_class = classType(); + (void) storage_class; // DirectClass const Quantum* pixel = getConstPixels( x_, y_, 1, 1 ); if ( pixel ) @@ -3615,6 +3617,7 @@ void Magick::Image::profile( const std::string name_, ssize_t result = ProfileImage( image(), name_.c_str(), (unsigned char *)profile_.data(), profile_.length(), &exceptionInfo); + (void) result; throwException( exceptionInfo ); (void) DestroyExceptionInfo( &exceptionInfo );