diff options
-rw-r--r-- | elf/dl-close.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c index c9a7d06577..24cc4750a5 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -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 = ns->_ns_nloaded; + const unsigned int nloaded __attribute_maybe_unused__ = ns->_ns_nloaded; /* Run over the list and assign indexes to the link maps. */ int idx = 0; |