diff options
author | Michael Snyder <msnyder@specifix.com> | 2010-05-07 19:26:30 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2010-05-07 19:26:30 +0000 |
commit | 8e11c9b67655fbc9433c3c0b7f1261b369d94049 (patch) | |
tree | f9debdb436ab3be2ff2881399d8485f7e9c10e5a /gdb/python/py-value.c | |
parent | 6428e82e16170e5f2fca5bd4615e40a9bd904700 (diff) | |
download | gdb-8e11c9b67655fbc9433c3c0b7f1261b369d94049.tar.gz |
2010-05-07 Michael Snyder <msnyder@vmware.com>
* python/python.c (execute_gdb_command): Remove unused variables.
* python/py-block.c (gdbpy_block_for_pc): Remove unused variable.
* python/py-breakpoint.c (gdbpy_breakpoint_created):
Remove unused variable.
* python/py-cmd.c (cmdpy_function): Remove unused variable.
(cmdpy_completer): Remove unused variable.
* python/py-frame.c (frapy_find_sal): Remove unused variable.
* python/py-function.c (fnpy_call): Remove unused variable.
* python/py-objfile.c (objfile_to_objfile_object):
Remove unused variable.
* python/py-param.c (parmpy_init): Remove unused variable.
* python/py-prettyprint.c (apply_varobj_pretty_printer):
Remove unused variable.
(gdbpy_default_visualizer): Remove unused variable.
* python/py-progspace.c (pspace_to_pspace_object):
Remove unused variable.
* python/py-symtab.c (symtab_and_line_to_sal_object):
Remove unused variable.
* python/py-type.c (typy_template_argument):
Remove unused variable.
* python/py-value.c (valpy_string): Remove unused variable.
(convert_value_from_python): Remove unused variables.
Diffstat (limited to 'gdb/python/py-value.c')
-rw-r--r-- | gdb/python/py-value.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 7672b5dd818..173b3c95dcd 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -259,7 +259,7 @@ valpy_lazy_string (PyObject *self, PyObject *args, PyObject *kw) static PyObject * valpy_string (PyObject *self, PyObject *args, PyObject *kw) { - int length = -1, ret = 0; + int length = -1; gdb_byte *buffer; struct value *value = ((value_object *) self)->value; volatile struct gdb_exception except; @@ -923,7 +923,6 @@ struct value * convert_value_from_python (PyObject *obj) { struct value *value = NULL; /* -Wall */ - PyObject *target_str, *unicode_str; struct cleanup *old; volatile struct gdb_exception except; int cmp; |