]> granicus.if.org Git - imagemagick/commitdiff
Removed conditional check that is no longer needed.
authorDirk Lemstra <dirk@lemstra.org>
Tue, 29 Jan 2019 06:32:49 +0000 (07:32 +0100)
committerDirk Lemstra <dirk@lemstra.org>
Tue, 29 Jan 2019 06:32:49 +0000 (07:32 +0100)
MagickCore/locale.c

index 28207f67cadc2c1091065f6ecb045094c84dcf3a..d30960e9db377b4b8e578568cf1af0835eff19d1 100644 (file)
@@ -287,10 +287,8 @@ static SplayTreeInfo *AcquireLocaleSplayTree(const char *filename,
 */
 static void DestroyCLocale(void)
 {
-#if defined(MAGICKCORE_HAVE_NEWLOCALE)
   if (c_locale != (locale_t) NULL)
     freelocale(c_locale);
-#endif
   c_locale=(locale_t) NULL;
 }
 #endif