]> granicus.if.org Git - imagemagick/commitdiff
Added magick_unreferenced to fix compiler warning.
authorDirk Lemstra <dirk@lemstra.org>
Sun, 2 Jun 2019 12:41:26 +0000 (14:41 +0200)
committerDirk Lemstra <dirk@lemstra.org>
Sun, 2 Jun 2019 13:08:02 +0000 (15:08 +0200)
MagickCore/nt-base.c

index 67f18537040ae8cee96b88d53f2ed8c5723874c6..ee26926d863fd6acade725097dc73d9f21ecf0fd 100644 (file)
@@ -119,7 +119,8 @@ static SemaphoreInfo
 
 static WSADATA
   *wsaData = (WSADATA*) NULL;
-\f
+
+
 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);
 }