[Lldb-commits] [lldb] 7323e7e - Revert "[lldb][swig] Use the correct variable in the return statement"
Dmitri Gribenko via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 22 04:28:23 PDT 2024
Author: Dmitri Gribenko
Date: 2024-08-22T13:14:30+02:00
New Revision: 7323e7eee3a819e9a2d8ec29f00d362bcad87731
URL: https://github.com/llvm/llvm-project/commit/7323e7eee3a819e9a2d8ec29f00d362bcad87731
DIFF: https://github.com/llvm/llvm-project/commit/7323e7eee3a819e9a2d8ec29f00d362bcad87731.diff
LOG: Revert "[lldb][swig] Use the correct variable in the return statement"
This reverts commit 65281570afd7e35e01533b07c6c2937de410fc52.
I'm reverting https://github.com/llvm/llvm-project/pull/104523
(https://github.com/llvm/llvm-project/commit/f01f80ce6ca7640bb0e267b84b1ed0e89b57e2d9)
and this fixup belongs to the same series of changes.
Added:
Modified:
lldb/bindings/python/python-wrapper.swig
Removed:
################################################################################
diff --git a/lldb/bindings/python/python-wrapper.swig b/lldb/bindings/python/python-wrapper.swig
index 360c392235a866..2ce42e3e017d5b 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 ret_val;
+ return result;
}
void *lldb_private::python::SWIGBridge::LLDBSWIGPython_GetDynamicSetting(
More information about the lldb-commits
mailing list