]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 16 Jun 2013 14:10:08 +0000 (14:10 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 16 Jun 2013 14:10:08 +0000 (14:10 +0000)
MagickCore/blob.c

index 1f925a34858912195f99b9f9e3f3170d890df715..65cdb1e424d4108578623f1f06f0371bd79ebe23 100644 (file)
@@ -2560,14 +2560,10 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info,
                 size_t
                   length;
 
-                struct stat
-                  *properties;
-
                 sans_exception=AcquireExceptionInfo();
                 magick_info=GetMagickInfo(image_info->magick,sans_exception);
                 sans_exception=DestroyExceptionInfo(sans_exception);
-                properties=(&image->blob->properties);
-                length=(size_t) properties->st_size;
+                length=(size_t) image->blob->properties.st_size;
                 if ((magick_info != (const MagickInfo *) NULL) &&
                     (GetMagickBlobSupport(magick_info) != MagickFalse) &&
                     (length > MagickMaxBufferExtent) &&