Skip to content

Commit ad75775

Browse files
committed
Revert "Revert "[lldb][swig] Use the correct variable in the return statement""
This reverts commit 7323e7e.
1 parent 9e9e823 commit ad75775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/bindings/python/python-wrapper.swig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPython_ShouldHide(
837837
bool ret_val = result ? PyObject_IsTrue(result) : false;
838838
Py_XDECREF(result);
839839

840-
return result;
840+
return ret_val;
841841
}
842842

843843
void *lldb_private::python::SWIGBridge::LLDBSWIGPython_GetDynamicSetting(

0 commit comments

Comments
 (0)