diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-06-28 10:40:16 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-06-28 10:40:16 +0200 |
commit | c1ada668a381e122ee37cb8be7f0637111f63ea7 (patch) | |
tree | 6ab7029584daf97619cb20853ee78491f14dfa84 /elf/rtld.c | |
parent | 5e89ed42fd8997414732525c9460878d65363b3f (diff) | |
download | glibc-c1ada668a381e122ee37cb8be7f0637111f63ea7.zip glibc-c1ada668a381e122ee37cb8be7f0637111f63ea7.tar.gz glibc-c1ada668a381e122ee37cb8be7f0637111f63ea7.tar.bz2 |
elf: Fix -DNDEBUG warning in _dl_start_args_adjust
This is another blocker for building glibc with the default
-Werror setting and -DNDEBUG.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1307,7 +1307,7 @@ _dl_start_args_adjust (int skip_args) return; /* Sanity check. */ - intptr_t argc = (intptr_t) sp[0] - skip_args; + intptr_t argc __attribute__ ((unused)) = (intptr_t) sp[0] - skip_args; assert (argc == _dl_argc); /* Adjust argc on stack. */ |