OSDN Git Service

Fix typo
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Aug 2004 18:03:15 +0000 (18:03 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Aug 2004 18:03:15 +0000 (18:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85887 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/class.c

index f46cdbe..4b7765b 100644 (file)
@@ -1896,6 +1896,8 @@ dfs_find_final_overrider_1 (tree binfo,
                            tree *vpath, 
                            find_final_overrider_data *ffod)
 {
+  tree method;
+
   /* If BINFO is not the most derived type, try a more derived class.
      A definition there will overrider a definition here.  */
   if (!same_type_p (BINFO_TYPE (binfo), ffod->most_derived_type))
@@ -1910,8 +1912,7 @@ dfs_find_final_overrider_1 (tree binfo,
        return true;
     }
 
-  tree method = look_for_overrides_here (BINFO_TYPE (binfo), ffod->fn);
-         
+  method = look_for_overrides_here (BINFO_TYPE (binfo), ffod->fn);
   if (method)
     {
       tree *candidate = &ffod->candidates;