[NFC] Minor code refactoring.
Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D49696 llvm-svn: 337737
This commit is contained in:
1 parent
044326c7fc
commit
17af5b6e20
1 file changed
+1
-4
@@ -1163,10 +1163,7 @@ bool ScriptInterpreterPython::ExecuteOneLineWithReturn(
|
||||
}
|
||||
}
|
||||
|
||||
if (success)
|
||||
ret_success = true;
|
||||
else
|
||||
ret_success = false;
|
||||
ret_success = success;
|
||||
}
|
||||
|
||||
py_error.Reset(PyRefType::Borrowed, PyErr_Occurred());
|
||||
|
||||
Reference in new issue
Block a user