]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
ldscript: Remove unused variable.
authorRoland McGrath <roland@redhat.com>
Wed, 9 Feb 2011 03:48:42 +0000 (19:48 -0800)
committerRoland McGrath <roland@redhat.com>
Wed, 9 Feb 2011 03:48:42 +0000 (19:48 -0800)
src/ChangeLog
src/ldscript.y

index fcdee1a9171b8904889a802c27f53a36d63d824c..28d92eb29bef2406b063d382e1091e8dd1576baa 100644 (file)
@@ -1,5 +1,7 @@
 2011-02-08  Roland McGrath  <roland@redhat.com>
 
+       * ldscript.y (filename_id_star): Remove unused variable.
+
        * unstrip.c (copy_elided_sections): Remove unused variable.
 
        * elflint.c (check_dynamic): Remove unused variables.
index 85174c7aea9d2da722bc79631fa2e1534c2392f4..c2f1971a2e22cb27d9c5f7fcddb75c76002aae7b 100644 (file)
@@ -1,6 +1,6 @@
 %{
 /* Parser for linker scripts.
-   Copyright (C) 2001-2010 Red Hat, Inc.
+   Copyright (C) 2001-2011 Red Hat, Inc.
    This file is part of Red Hat elfutils.
    Written by Ulrich Drepper <drepper@redhat.com>, 2001.
 
@@ -802,12 +802,9 @@ add_versions (struct version *versions)
 
   do
     {
-      struct version *oldp;
-
       add_id_list (versions->versionname, versions->local_names, true);
       add_id_list (versions->versionname, versions->global_names, false);
 
-      oldp = versions;
       versions = versions->next;
     }
   while (versions != NULL);