This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[FYI] remove an unused macro and an unused declaration
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Tue, 13 May 2014 11:46:37 -0600
- Subject: [FYI] remove an unused macro and an unused declaration
- Authentication-results: sourceware.org; auth=none
This patch removes an unused macro from language.h. It also removes
the declaration of a function which is not defined.
I'm checking this in as obvious.
Tested by rebuilding.
2014-05-13 Tom Tromey <tromey@redhat.com>
* language.h (unop_type_check): Remove.
(binop_type_check): Don't declare.
---
gdb/ChangeLog | 5 +++++
gdb/language.h | 6 ------
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/gdb/language.h b/gdb/language.h
index 9e95bf2..73619ca 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -475,12 +475,6 @@ extern enum language set_language (enum language);
extern int pointer_type (struct type *);
-/* Checks Binary and Unary operations for semantic type correctness. */
-/* FIXME: Does not appear to be used. */
-#define unop_type_check(v,o) binop_type_check((v),NULL,(o))
-
-extern void binop_type_check (struct value *, struct value *, int);
-
/* Error messages */
extern void range_error (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
--
1.9.0