[NFC] Minor code refactoring.
Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D49696 llvm-svn: 337737
This commit is contained in:
@@ -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