From: Ulrich Drepper Date: Thu, 12 Mar 1998 14:30:58 +0000 (+0000) Subject: (dl_main): Call _dl_catch_error correctly. X-Git-Tag: cvs/before-sparc-2_0_x-branch~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3ced8f8cf90bbe1d9fbba8ab429e05a9dc4391;p=thirdparty%2Fglibc.git (dl_main): Call _dl_catch_error correctly. --- diff --git a/elf/rtld.c b/elf/rtld.c index d533a3912cb..f7b76ada8d4 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -258,9 +258,8 @@ of this helper program; chances are you did not intend to run this program.\n", l = _dl_map_object (NULL, _dl_argv[0], 0, lt_library, 0); } char *err_str = NULL; - const char *obj_name __attribute__ ((unused)); - (void) _dl_catch_error (&err_str, &obj_name, doit); + (void) _dl_catch_error (&err_str, doit); if (err_str != NULL) { free (err_str);