Author: sas
Date: Wed Oct 14 15:39:41 2015
New Revision: 250322
URL: http://llvm.org/viewvc/llvm-project?rev=250322&view=rev
Log:
Avoid a -Wreorder warning in ScriptInterpreterPython.cpp.
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=250322&r1=250321&r2=250322&view=diff
==============================================================================
---
lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
(original)
+++
lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Wed Oct 14 15:39:41 2015
@@ -93,8 +93,8 @@ struct InitializePythonRAII
{
public:
InitializePythonRAII() :
- m_was_already_initialized(false),
- m_gil_state(PyGILState_UNLOCKED)
+ m_gil_state(PyGILState_UNLOCKED),
+ m_was_already_initialized(false)
{
// Python will muck with STDIN terminal state, so save off any current
TTY
// settings so we can restore them.
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits