[RFA] PR python/19819 - remove unused globals from py-xmethods.c

Joel Brobecker brobecker@adacore.com
Thu Jun 9 18:09:00 GMT 2016


> PR python/19819 concerns some unused global variables in
> py-xmethods.c.  This patch deletes the unused globals.
> 
> Tested by rebuilding.
> 
> 2016-06-09  Tom Tromey  <tom@tromey.com>
> 
> 	PR python/19819:
> 	* python/py-xmethods.c (invoke_method_name)
> 	(py_get_result_type_method_name, py_invoke_method_name): Remove.
> 	(gdbpy_initialize_xmethods): Don't initialize
> 	py_invoke_method_name, py_get_result_type_method_name.

Looks OK to me. Can we consider this one obvious too? I think so!

Thanks, Tom!

-- 
Joel



More information about the Gdb-patches mailing list