summaryrefslogtreecommitdiff
path: root/ldso/libdl/libdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r--ldso/libdl/libdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 545b6745f..5fd411505 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -485,7 +485,7 @@ static void foobar()
_dl_exit(1);
}
-static int foobar1 = (int)foobar; /* Use as pointer */
+static int __attribute__((unused)) foobar1 = (int)foobar; /* Use as pointer */
#if 1
#pragma weak _dl_find_hash = foobar