Fixed using uninitialized variable in p3HistoryMgr::setEnable.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-18 10:36:52 +00:00
parent 5aa8de3e62
commit 73778c92d8

View File

@ -594,6 +594,8 @@ void p3HistoryMgr::setEnable(uint32_t chat_type, bool enable)
case RS_HISTORY_TYPE_PRIVATE: oldValue = mPrivateEnable ;
mPrivateEnable = enable ;
break ;
default:
return;
}
if (oldValue != enable)