Fix Clang warnings: field 'mPassword' will be initialized after field

'mPrevIsBad'

warning: field 'mPassword' will be initialized after field 'mPrevIsBad'
[-Wreorder]
This commit is contained in:
Phenom 2017-04-18 11:56:25 +02:00 committed by csoler
parent be9f126898
commit 6e42cf4200
2 changed files with 3 additions and 3 deletions

View File

@ -25,8 +25,8 @@ RsControlModule::RsControlModule(int argc, char **argv, StateTokenServer* sts, A
mRunState(WAITING_INIT),
mAutoLoginNextTime(false),
mWantPassword(false),
mPassword(""),
mPrevIsBad(false)
mPrevIsBad(false),
mPassword("")
{
mStateToken = sts->getNewToken();
this->argc = argc;