mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 00:19:30 -05:00
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:
parent
5aa8de3e62
commit
73778c92d8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user