From: cristy Date: Sun, 24 Nov 2013 15:15:16 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3096 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=711ed1853197209a24264065ac0458934e124fa7;p=imagemagick --- diff --git a/MagickCore/opencl-private.h b/MagickCore/opencl-private.h index 03ff401a5..4075d4e54 100644 --- a/MagickCore/opencl-private.h +++ b/MagickCore/opencl-private.h @@ -102,15 +102,15 @@ extern MagickExport void static inline void OpenCLLogException(const char* function, const unsigned int line, ExceptionInfo* exception) { -#ifdef ACCELERATE_LOG_EXCEPTION if (exception->severity!=0) { char message[MaxTextExtent]; /* dump the source into a file */ (void) FormatLocaleString(message,MaxTextExtent,"%s:%d Exception(%d)" ,function,line,exception->severity); +#ifdef ACCELERATE_LOG_EXCEPTION OpenCLLog(message); - } #endif + } } #if defined(__cplusplus) || defined(c_plusplus)