Re: [Spice-devel] [vdagent-win 2/2] vdagent: as_user: reorder initialization to make mingw-gcc happy

2014-03-13 Thread Christophe Fergeau
On Sun, Mar 09, 2014 at 07:05:06PM +0200, Uri Lublin wrote: Fixes compiler warning that starts with: In file included from vdagent/as_user.cpp:19:0: vdagent/as_user.h: In constructor 'AsUser::AsUser(DWORD)': vdagent/as_user.h:35:10: warning: 'AsUser::_started' will be initialized after

[Spice-devel] [vdagent-win 2/2] vdagent: as_user: reorder initialization to make mingw-gcc happy

2014-03-09 Thread Uri Lublin
Fixes compiler warning that starts with: In file included from vdagent/as_user.cpp:19:0: vdagent/as_user.h: In constructor 'AsUser::AsUser(DWORD)': vdagent/as_user.h:35:10: warning: 'AsUser::_started' will be initialized after [-Wreorder] bool _started; --- vdagent/as_user.cpp | 4 ++-- 1