]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "elf: Fix compile error with -DNDEBUG [BZ #18755]"
authorFlorian Weimer <fweimer@redhat.com>
Wed, 18 Oct 2023 09:30:38 +0000 (11:30 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 18 Oct 2023 09:30:38 +0000 (11:30 +0200)
This reverts commit 964d15a007d7fb1258f2ad7c8cf4afcfb9a65719.

Reason for revert: Conflicts with revert of commit 6985865bc3ad5b23147.

elf/dl-close.c

index 24cc4750a5eeb6b30bb23888b29fad06269ea2ad..c9a7d06577878e916c02e6e6494df51b9a2a4eef 100644 (file)
@@ -137,7 +137,7 @@ _dl_close_worker (struct link_map *map, bool force)
   dl_close_state = pending;
 
   bool any_tls = false;
-  const unsigned int nloaded __attribute_maybe_unused__ = ns->_ns_nloaded;
+  const unsigned int nloaded = ns->_ns_nloaded;
 
   /* Run over the list and assign indexes to the link maps.  */
   int idx = 0;