[Lldb-commits] [lldb] r250322 - Avoid a -Wreorder warning in ScriptInterpreterPython.cpp.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 14 13:43:36 PDT 2015


Thanks, I had a CL coming to fix this but you beat me to it.

On Wed, Oct 14, 2015 at 1:41 PM Stephane Sezer via lldb-commits <
lldb-commits at lists.llvm.org> wrote:

> 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
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151014/12686b81/attachment.html>


More information about the lldb-commits mailing list