Fix unused variable warning in dl-startup.c
commit05c39a2243c336600e9051743ba9b64b3d3aa0b4
authorYann Sionneau <ysionneau@kalray.eu>
Tue, 22 Sep 2020 12:16:58 +0000 (22 14:16 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Tue, 22 Sep 2020 13:54:04 +0000 (22 15:54 +0200)
tree412ea8846dc321d2b2f28a6c71e06594fa190f44
parentcc2b7bf5dd11b6cd0f577ca9d3d387ed344b14f8
Fix unused variable warning in dl-startup.c

SEND_STDERR_DEBUG does nothing if __SUPPORT_LD_DEBUG_EARLY__ is not defined
thus causing a warning.

Fixes this:

In file included from ldso/ldso/ldso.c:86:0:
ldso/ldso/dl-startup.c: In function '_dl_start':
ldso/ldso/dl-startup.c:313:13: warning: variable 'strtab' set but not used [-Wunused-but-set-variable]
       char *strtab;
             ^~~~~~

Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
ldso/ldso/dl-startup.c