This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[python] remove unused type codes
- From: Tom Tromey <tromey at redhat dot com>
- To: Project Archer <archer at sourceware dot org>
- Date: Wed, 08 Apr 2009 12:45:02 -0600
- Subject: [python] remove unused type codes
- Reply-to: Tom Tromey <tromey at redhat dot com>
I forgot to zap these unused type codes when I removed them from the
docs.
Tom
2009-04-08 Tom Tromey <tromey@redhat.com>
* python/python-type.c (pyty_codes): Remove TYPE_CODE_TEMPLATE and
TYPE_CODE_TEMPLATE_ARG.
diff --git a/gdb/python/python-type.c b/gdb/python/python-type.c
index ec9ec46..53a7eab 100644
--- a/gdb/python/python-type.c
+++ b/gdb/python/python-type.c
@@ -88,8 +88,6 @@ static struct pyty_code pyty_codes[] =
ENTRY (TYPE_CODE_BOOL),
ENTRY (TYPE_CODE_COMPLEX),
ENTRY (TYPE_CODE_TYPEDEF),
- ENTRY (TYPE_CODE_TEMPLATE),
- ENTRY (TYPE_CODE_TEMPLATE_ARG),
ENTRY (TYPE_CODE_NAMESPACE),
ENTRY (TYPE_CODE_DECFLOAT),
ENTRY (TYPE_CODE_INTERNAL_FUNCTION),