This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, rfc] Delete dead language.c code


Hello,

This patch started out as a -Wformat-nonliteral fix to op_error() but then I discovered it wasn't reachable!

The attached zaps op_error() along with binop_type_check(), the latter being #if 0'd out since:

2.11 (gnu 21-Feb-92): #if 0 /* Currently unused */

I'll commit it in a day or so,

I've checked this in.


Andrew

2003-08-04 Andrew Cagney <cagney@redhat.com>

	* language.c (op_error): Delete function.
	(binop_type_check): Delete function.
	* language.h (type_op_error, range_op_error): Delete macros.
	(op_error): Delete declaration.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]