diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-03-01 19:00:16 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-03-01 19:00:16 +0000 |
commit | bfffb7e32fe2d116b72389400289c421e11c43a1 (patch) | |
tree | 378b00e89cc491cf3ee10e94b26a744593e0bf6a /gdb | |
parent | a9dc8dcca3ac5ca47940cd4e9d7138490bec3d06 (diff) | |
download | gdb-bfffb7e32fe2d116b72389400289c421e11c43a1.zip gdb-bfffb7e32fe2d116b72389400289c421e11c43a1.tar.gz gdb-bfffb7e32fe2d116b72389400289c421e11c43a1.tar.bz2 |
2011-02-28 Michael Snyder <msnyder@vmware.com>
* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/python/py-utils.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8695f7f..81957f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/python/py-utils.c b/gdb/python/py-utils.c index 79e17c4..601bcb0 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. |