[Lldb-commits] [lldb] r337737 - [NFC] Minor code refactoring.
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 23 13:56:50 PDT 2018
Author: teemperor
Date: Mon Jul 23 13:56:49 2018
New Revision: 337737
URL: http://llvm.org/viewvc/llvm-project?rev=337737&view=rev
Log:
[NFC] Minor code refactoring.
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D49696
Modified:
lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp?rev=337737&r1=337736&r2=337737&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp (original)
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp Mon Jul 23 13:56:49 2018
@@ -1163,10 +1163,7 @@ bool ScriptInterpreterPython::ExecuteOne
}
}
- if (success)
- ret_success = true;
- else
- ret_success = false;
+ ret_success = success;
}
py_error.Reset(PyRefType::Borrowed, PyErr_Occurred());
More information about the lldb-commits
mailing list