From 7708b0b5800be16889b096e91f9af6a27de7d420 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 26 Jan 2013 03:03:29 +0000 Subject: [PATCH] --- MagickCore/distribute-cache.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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) -- 2.50.1