teemperor created this revision.
https://reviews.llvm.org/D49696
Files:
source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Index: source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
===================================================================
--- source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ 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());
Index: source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
===================================================================
--- source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ 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());
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits