From: cristy Date: Sun, 30 Dec 2012 21:05:25 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f97efc786bedc1e852175075b1b51887e07a936a;p=imagemagick --- diff --git a/MagickCore/cache.c b/MagickCore/cache.c index 45120f27b..31b7ac9ac 100644 --- a/MagickCore/cache.c +++ b/MagickCore/cache.c @@ -4900,11 +4900,6 @@ static MagickBooleanType SetCacheAlphaChannel(Image *image,const Quantum alpha, MagickBooleanType status; -#if defined(MAGICKCORE_OPENMP_SUPPORT) - size_t - chunk; -#endif - ssize_t y; @@ -4919,8 +4914,7 @@ static MagickBooleanType SetCacheAlphaChannel(Image *image,const Quantum alpha, status=MagickTrue; image_view=AcquireVirtualCacheView(image,exception); /* must be virtual */ #if defined(MAGICKCORE_OPENMP_SUPPORT) - chunk=image->rows/2; - #pragma omp parallel for magick_schedule(static,chunk) shared(progress,status) + #pragma omp parallel for magick_schedule(static,image->rows/2) shared(status) #endif for (y=0; y < (ssize_t) image->rows; y++) {