aboutsummaryrefslogtreecommitdiff
path: root/odb/lookup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/lookup.cxx')
-rw-r--r--odb/lookup.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/odb/lookup.cxx b/odb/lookup.cxx
index 4f87203..cc02c66 100644
--- a/odb/lookup.cxx
+++ b/odb/lookup.cxx
@@ -114,16 +114,6 @@ namespace lookup
tt = lex.next (t);
}
- // Get the actual type if this is a TYPE_DECL.
- //
- if (is_type)
- {
- if (TREE_CODE (scope) == TYPE_DECL)
- scope = TREE_TYPE (scope);
-
- scope = TYPE_MAIN_VARIANT (scope);
- }
-
return scope;
}
}