From a59642ab57c44482242fe896eeb9941568cba9d9 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 3 Jul 2022 12:08:17 -0400 Subject: [PATCH] eliminate compiler warning --- magick/xwindow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/magick/xwindow.c b/magick/xwindow.c index e743fc4574..d02e615a0c 100644 --- a/magick/xwindow.c +++ b/magick/xwindow.c @@ -5382,6 +5382,7 @@ MagickExport MagickBooleanType XMakeImage(Display *display, assert(window != (XWindowInfo *) NULL); assert(width != 0); assert(height != 0); + magick_unreferenced(level); if (IsEventLogging() != MagickFalse) (void) LogMagickEvent(TraceEvent,GetMagickModule(),"..."); if ((window->width == 0) || (window->height == 0))