From: cristy Date: Sat, 26 Jan 2013 03:03:29 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4350 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7708b0b5800be16889b096e91f9af6a27de7d420;p=imagemagick --- diff --git a/MagickCore/distribute-cache.c b/MagickCore/distribute-cache.c index 402308c83..6c9d07274 100644 --- a/MagickCore/distribute-cache.c +++ b/MagickCore/distribute-cache.c @@ -665,9 +665,6 @@ static MagickBooleanType WriteDistributeCacheMetacontent( Image *image; - MagickBooleanType - status; - MagickOffsetType count; @@ -715,10 +712,9 @@ static MagickBooleanType WriteDistributeCacheMetacontent( return(MagickFalse); metacontent=GetAuthenticMetacontent(image); count=dpc_read(file,length,metacontent); - status=SyncAuthenticPixels(image,exception); if (count != (MagickOffsetType) length) return(MagickFalse); - return(status); + return(SyncAuthenticPixels(image,exception)); } static MagickBooleanType WriteDistributeCachePixels(SplayTreeInfo *registry, @@ -727,9 +723,6 @@ static MagickBooleanType WriteDistributeCachePixels(SplayTreeInfo *registry, Image *image; - MagickBooleanType - status; - MagickOffsetType count; @@ -775,10 +768,9 @@ static MagickBooleanType WriteDistributeCachePixels(SplayTreeInfo *registry, if (q == (Quantum *) NULL) return(MagickFalse); count=dpc_read(file,length,(unsigned char *) q); - status=SyncAuthenticPixels(image,exception); if (count != (MagickOffsetType) length) return(MagickFalse); - return(status); + return(SyncAuthenticPixels(image,exception)); } static void *DistributePixelCacheClient(void *socket)