Revert "elf: Fix compile error with -DNDEBUG [BZ #18755]"

This reverts commit 964d15a007.

Reason for revert: Conflicts with revert of commit 6985865bc3.
This commit is contained in:
Florian Weimer 2023-10-18 11:30:38 +02:00
parent b316c9a769
commit 2ad9b674cf

View 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;