[Lldb-commits] [PATCH] D49696: [NFC] Minor code refactoring.
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 23 13:57:09 PDT 2018
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL337737: [NFC] Minor code refactoring. (authored by teemperor, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D49696?vs=156873&id=156874#toc
Repository:
rL LLVM
https://reviews.llvm.org/D49696
Files:
lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Index: lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
===================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -1163,10 +1163,7 @@
}
}
- if (success)
- ret_success = true;
- else
- ret_success = false;
+ ret_success = success;
}
py_error.Reset(PyRefType::Borrowed, PyErr_Occurred());
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49696.156874.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180723/ded6fa0d/attachment.bin>
More information about the lldb-commits
mailing list