2011-02-28 Michael Snyder <msnyder@vmware.com>

* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
This commit is contained in:
Michael Snyder 2011-03-01 19:00:16 +00:00
parent a9dc8dcca3
commit bfffb7e32f
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2011-03-01 Michael Snyder <msnyder@vmware.com>
* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
* objc-lang.c (selectors_info): Add explanitory comment.
(classes_info): Ditto.

View File

@ -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.