mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2026-08-27 00:26:02 -04:00
gdb_py_tp_name: remove redundant PyErr_Clear
gdbpy_print_stack() already clears the error indicator. Thus remove the following call to PyErr_Clear(). Approved-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
parent
bccfda8cc9
commit
fb7b22bbea
1 changed files with 0 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ gdb_py_tp_name (PyTypeObject *py_type) noexcept
|
|||
auto handle_err = [&]() -> std::string
|
||||
{
|
||||
gdbpy_print_stack ();
|
||||
PyErr_Clear ();
|
||||
return NO_TYPE_NAME;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue