about summary refs log tree commit diff
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/bug-dl-leaf-lib.c b/dlfcn/bug-dl-leaf-lib.c
index d5a3460c2b..105ab244f3 100644
--- a/dlfcn/bug-dl-leaf-lib.c
+++ b/dlfcn/bug-dl-leaf-lib.c
@@ -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.  */