summaryrefslogtreecommitdiff
path: root/dlfcn/bug-dl-leaf-lib.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:01:57 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:01:57 +0000
commitcab56836b146bc129f1ad43f0393d95a9deca63a (patch)
tree4f4e655319bbac78fca170da05275c127429b460 /dlfcn/bug-dl-leaf-lib.c
parent04ac1241a4cd004872282c2c82ec37fa33925292 (diff)
parent82dd75a7f436a19047325d62182590c9f9e23a78 (diff)
Merge branch 't/tls' into refs/top-bases/t/tls-threadvar
Diffstat (limited to 'dlfcn/bug-dl-leaf-lib.c')
-rw-r--r--dlfcn/bug-dl-leaf-lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dlfcn/bug-dl-leaf-lib.c b/dlfcn/bug-dl-leaf-lib.c
index d5a3460c2b..016a393df2 100644
--- a/dlfcn/bug-dl-leaf-lib.c
+++ b/dlfcn/bug-dl-leaf-lib.c
@@ -1,6 +1,6 @@
/* Make sure dlopen/dlclose are not marked as leaf functions.
- Copyright (C) 2013-2016 Free Software Foundation, Inc.
+ Copyright (C) 2013-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Mike Frysinger <vapier@gentoo.org>
@@ -50,7 +50,7 @@ void check_val_fini (void)
int lib_main (void)
{
- int ret;
+ int ret __attribute__ ((unused));
void *hdl;
/* Make sure the constructor sees the updated val. */