diff options
| author | Adrian Prantl <aprantl@apple.com> | 2024-08-23 09:56:09 -0700 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2024-08-23 11:06:01 -0700 |
| commit | ad7577524286ae6070dc7f18bde35cf050d31e5e (patch) | |
| tree | 05fada213e46499301aa651cc35dbd0349841b34 /lldb/bindings/python | |
| parent | 9e9e8238df63b9f10c6635d3f16d8a0fbc7f00c4 (diff) | |
| download | llvm-ad7577524286ae6070dc7f18bde35cf050d31e5e.tar.gz llvm-ad7577524286ae6070dc7f18bde35cf050d31e5e.tar.bz2 llvm-ad7577524286ae6070dc7f18bde35cf050d31e5e.zip | |
Revert "Revert "[lldb][swig] Use the correct variable in the return statement""
This reverts commit 7323e7eee3a819e9a2d8ec29f00d362bcad87731.
Diffstat (limited to 'lldb/bindings/python')
| -rw-r--r-- | lldb/bindings/python/python-wrapper.swig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/bindings/python/python-wrapper.swig b/lldb/bindings/python/python-wrapper.swig index 2ce42e3e017d..360c392235a8 100644 --- a/lldb/bindings/python/python-wrapper.swig +++ b/lldb/bindings/python/python-wrapper.swig @@ -837,7 +837,7 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPython_ShouldHide( bool ret_val = result ? PyObject_IsTrue(result) : false; Py_XDECREF(result); - return result; + return ret_val; } void *lldb_private::python::SWIGBridge::LLDBSWIGPython_GetDynamicSetting( |
