From: Dirk Lemstra Date: Sun, 2 Jun 2019 12:41:26 +0000 (+0200) Subject: Added magick_unreferenced to fix compiler warning. X-Git-Tag: 7.0.8-49~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6dcec94a1af30422a8c1c86792ff263322174195;p=imagemagick Added magick_unreferenced to fix compiler warning. --- 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); }