aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-utils.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-01 19:00:16 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-01 19:00:16 +0000
commitbfffb7e32fe2d116b72389400289c421e11c43a1 (patch)
tree378b00e89cc491cf3ee10e94b26a744593e0bf6a /gdb/python/py-utils.c
parenta9dc8dcca3ac5ca47940cd4e9d7138490bec3d06 (diff)
downloadgdb-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/python/py-utils.c')
-rw-r--r--gdb/python/py-utils.c1
1 files changed, 0 insertions, 1 deletions
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.