summaryrefslogtreecommitdiff
path: root/MagickCore
diff options
context:
space:
mode:
authorCristy <mikayla-grace@urban-warrior.org>2019-05-01 19:46:12 -0400
committerCristy <mikayla-grace@urban-warrior.org>2019-05-01 19:46:12 -0400
commit471faa489f70f52f156e26d3a92dbde6740da412 (patch)
treea0881671d537b33361026ea9ce1d418482e25391 /MagickCore
parentb52d65338232a23eb4693fbd4970599d32e38392 (diff)
downloadImageMagick-471faa489f70f52f156e26d3a92dbde6740da412.tar.gz
https://github.com/ImageMagick/ImageMagick6/issues/46
Diffstat (limited to 'MagickCore')
-rw-r--r--MagickCore/cache.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/MagickCore/cache.c b/MagickCore/cache.c
index c7532ffab..e3c32ea79 100644
--- a/MagickCore/cache.c
+++ b/MagickCore/cache.c
@@ -4995,12 +4995,6 @@ static Quantum *SetPixelCacheNexusPixels(
if (cache_info->type == UndefinedCache)
return((Quantum *) NULL);
(void) memset(&nexus_info->region,0,sizeof(nexus_info->region));
- if ((width == 0) || (height == 0))
- {
- (void) ThrowMagickException(exception,GetMagickModule(),CacheError,
- "NoPixelsDefinedInCache","`%s'",cache_info->filename);
- return((Quantum *) NULL);
- }
assert(nexus_info->signature == MagickCoreSignature);
if (((cache_info->type == MemoryCache) || (cache_info->type == MapCache)) &&
(buffered == MagickFalse))