diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-07 19:26:30 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-07 19:26:30 +0000 |
commit | f92adf3ccc9f87786c3ed6ca1bf2ced52cfbcd62 (patch) | |
tree | e72a81d374f6d7bee2e29129648caf02cba1aab8 /gdb/python/py-breakpoint.c | |
parent | d160942fa5f8a18a1b237c028254382bcb836924 (diff) | |
download | gdb-f92adf3ccc9f87786c3ed6ca1bf2ced52cfbcd62.zip gdb-f92adf3ccc9f87786c3ed6ca1bf2ced52cfbcd62.tar.gz gdb-f92adf3ccc9f87786c3ed6ca1bf2ced52cfbcd62.tar.bz2 |
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-breakpoint.c')
-rw-r--r-- | gdb/python/py-breakpoint.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index 4750d6d..24eebb7 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -706,8 +706,6 @@ gdbpy_breakpoint_created (int num) newbp = PyObject_New (breakpoint_object, &breakpoint_object_type); if (newbp) { - PyObject *hookfn; - newbp->number = num; newbp->bp = bp; bppy_breakpoints[num] = newbp; |