From: Michael Snyder Date: Tue, 1 Mar 2011 19:00:16 +0000 (+0000) Subject: 2011-02-28 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bfffb7e32fe2d116b72389400289c421e11c43a1;p=binutils-gdb.git 2011-02-28 Michael Snyder * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8695f7ff9c3..81957f4ce85 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2011-03-01 Michael Snyder + * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. + * objc-lang.c (selectors_info): Add explanitory comment. (classes_info): Ditto. diff --git a/gdb/python/py-utils.c b/gdb/python/py-utils.c index 79e17c47bd7..601bcb05eaf 100644 --- a/gdb/python/py-utils.c +++ b/gdb/python/py-utils.c @@ -253,7 +253,6 @@ gdbpy_obj_to_string (PyObject *obj) char * gdbpy_exception_to_string (PyObject *ptype, PyObject *pvalue) { - PyObject *str_obj = PyObject_Str (pvalue); char *str; /* There are a few cases to consider.