mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
elf: Fix -DNDEBUG warning in _dl_start_args_adjust
This is another blocker for building glibc with the default -Werror setting and -DNDEBUG.
This commit is contained in:
parent
5e89ed42fd
commit
c1ada668a3
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user