summaryrefslogtreecommitdiff
path: root/dlfcn/bug-dl-leaf-lib.c
diff options
context:
space:
mode:
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. */