about summary refs log tree commit diff
path: root/nss/nsswitch.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/nsswitch.c')
-rw-r--r--nss/nsswitch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nss/nsswitch.c b/nss/nsswitch.c
index b9b4e3da5b..3b48c85bb5 100644
--- a/nss/nsswitch.c
+++ b/nss/nsswitch.c
@@ -252,10 +252,9 @@ static int
 nss_dlerror_run (void (*operate) (void *), void *args)
 {
   char *last_errstring = NULL;
-  const char *last_object_name = NULL;
   int result;
 
-  (void) _dl_catch_error (&last_errstring, &last_object_name, operate, args);
+  (void) _dl_catch_error (&last_errstring, operate, args);
 
   result = last_errstring != NULL;
   if (result)