]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 24 Feb 2011 15:24:33 +0000 (15:24 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 24 Feb 2011 15:24:33 +0000 (15:24 +0000)
magick/cache.c
magick/stream.c

index c384ca037bb12af185257a836fdb285c05300587..f74bd07804a297d4c7db7da59e185cb8e0a2aa2b 100644 (file)
@@ -2755,6 +2755,9 @@ MagickExport void *GetPixelCachePixels(Image *image,MagickSizeType *length,
   assert(image != (const Image *) NULL);
   assert(image->signature == MagickSignature);
   assert(image->cache != (Cache) NULL);
+  assert(length != (MagickSizeType *) NULL);
+  assert(exception != (ExceptionInfo *) NULL);
+  assert(exception->signature == MagickSignature);
   cache_info=(CacheInfo *) image->cache;
   assert(cache_info->signature == MagickSignature);
   *length=0;
index 38edadb01194f256fd23106d8d16a744471d0883..07ee7718de6ab413d7a1377669af800723867861 100644 (file)
@@ -1111,6 +1111,7 @@ static size_t WriteStreamImage(const Image *image,const void *pixels,
   StreamInfo
     *stream_info;
 
+  (void) pixels;
   stream_info=(StreamInfo *) image->client_data;
   switch (stream_info->storage_type)
   {