Skip to content

Commit

Permalink
eliminate compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jul 3, 2022
1 parent 1b9ea43 commit 349a176
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions magick/xwindow.c
Original file line number Diff line number Diff line change
Expand Up @@ -5371,7 +5371,7 @@ MagickExport MagickBooleanType XMakeImage(Display *display,
format;

size_t
length = 0;
length;

XImage
*matte_image,
Expand All @@ -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))
Expand Down

0 comments on commit 349a176

Please sign in to comment.