fix set but unused variable warnings
[deliverable/binutils-gdb.git] / ld / emultempl / aix.em
index 279032440bd339f14c926f9528d2691c2402e4a9..497f51de98bb167ae8113811f2427504000c4ecf 100644 (file)
@@ -10,7 +10,7 @@ fragment <<EOF
 
 /* AIX emulation code for ${EMULATION_NAME}
    Copyright 1991, 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2006, 2007, 2008, 2009
+   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
    Written by Steve Chamberlain <sac@cygnus.com>
    AIX support by Ian Lance Taylor <ian@cygnus.com>
@@ -1424,13 +1424,11 @@ gld${EMULATION_NAME}_open_dynamic_archive (const char *arch,
                                           search_dirs_type *search,
                                           lang_input_statement_type *entry)
 {
-  const char *filename;
   char *path;
 
   if (!entry->is_archive)
     return FALSE;
 
-  filename = entry->filename;
   path = concat (search->name, "/lib", entry->filename, arch, ".a", NULL);
   if (!ldfile_try_open_bfd (path, entry))
     {
This page took 0.02697 seconds and 4 git commands to generate.