OSDN Git Service

ldso: fix unused variable warning
authorBaruch Siach <baruch@tkos.co.il>
Tue, 27 Aug 2013 18:20:17 +0000 (21:20 +0300)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 6 Nov 2013 21:21:59 +0000 (22:21 +0100)
commit7a3d6cfb4aec388f911cc96b81ca686409454bfb
treea2f0451fa115f8a5a01b33374471c61e7037e78a
parent3475673138fe3b4e9a0dafebbee7c8abff6b5fed
ldso: fix unused variable warning

This fixes the following warning when SUPPORT_LD_DEBUG_EARLY is not enabled:

ldso/ldso/ldso.c: In function '_dl_get_ready_to_run':
ldso/ldso/ldso.c:754:16: warning: unused variable 'tmp' [-Wunused-variable]

This was introduced with commit 94cc6edb (ldso: Rework global scope handling
and symbol lookup mechanism).

Cc: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
ldso/ldso/ldso.c