From 6dcec94a1af30422a8c1c86792ff263322174195 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sun, 2 Jun 2019 14:41:26 +0200 Subject: [PATCH] Added magick_unreferenced to fix compiler warning. --- MagickCore/nt-base.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MagickCore/nt-base.c b/MagickCore/nt-base.c index 67f185370..ee26926d8 100644 --- a/MagickCore/nt-base.c +++ b/MagickCore/nt-base.c @@ -119,7 +119,8 @@ static SemaphoreInfo static WSADATA *wsaData = (WSADATA*) NULL; - + + struct { const HKEY @@ -2571,6 +2572,7 @@ MagickPrivate ssize_t NTSystemConfiguration(int name) */ MagickPrivate ssize_t NTTellDirectory(DIR *entry) { + magick_unreferenced(entry); assert(entry != (DIR *) NULL); return(0); } -- 2.40.0