From 349a1761c161414ed274eb384dade7c669d2719c Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 3 Jul 2022 11:05:30 -0400 Subject: [PATCH] eliminate compiler warning --- magick/xwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/magick/xwindow.c b/magick/xwindow.c index ba21f27f55..e743fc4574 100644 --- a/magick/xwindow.c +++ b/magick/xwindow.c @@ -5371,7 +5371,7 @@ MagickExport MagickBooleanType XMakeImage(Display *display, format; size_t - length = 0; + length; XImage *matte_image, @@ -5382,7 +5382,6 @@ MagickExport MagickBooleanType XMakeImage(Display *display, assert(window != (XWindowInfo *) NULL); assert(width != 0); assert(height != 0); - magick_unreferenced(length); if (IsEventLogging() != MagickFalse) (void) LogMagickEvent(TraceEvent,GetMagickModule(),"..."); if ((window->width == 0) || (window->height == 0))