aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-04-16 18:06:34 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-04-16 18:06:34 +0000
commit78638e240e2d91aa5d0cad91b49e82dae74d6a7c (patch)
tree96f46bb5c5b9a1ba431ad60b014954d8bb972fad /gcc/cp/class.c
parent4d1bb6125f6d292168dd258afc4d907e1118de2b (diff)
downloadgcc-78638e240e2d91aa5d0cad91b49e82dae74d6a7c.zip
gcc-78638e240e2d91aa5d0cad91b49e82dae74d6a7c.tar.gz
gcc-78638e240e2d91aa5d0cad91b49e82dae74d6a7c.tar.bz2
class.c (finish_struct): Remove unused variable.
* class.c (finish_struct): Remove unused variable. (pushclass): Likewise. (invalidate_class_lookup_cache): Likewise. * cp-tree.def (TYPENAME_TYPE): Improve documentation. * decl.c (build_typename_type): Make sure TYPENAME_TYPE_FULLNAME doesn't get obliterated. (make_typename_type): Handle template classes correctly. From-SVN: r26507
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index cc23b29..ac762b5 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -4160,7 +4160,6 @@ finish_struct (t, attributes, warn_anon)
int warn_anon;
{
tree name = TYPE_NAME (t);
- tree x;
if (TREE_CODE (name) == TYPE_DECL)
{
@@ -4481,8 +4480,6 @@ pushclass (type, modify)
if (modify)
{
- tree tags;
-
if (type != previous_class_type || current_class_depth > 1)
push_class_decls (type);
else
@@ -4519,7 +4516,6 @@ pushclass (type, modify)
void
invalidate_class_lookup_cache ()
{
- tree tags = CLASSTYPE_TAGS (previous_class_type);
tree t;
/* This code can be seen as a cache miss. When we've cached a