mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Fixed using uninitialized variable in p3HistoryMgr::setSaveCount.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8517 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
73778c92d8
commit
71cae5921c
@ -632,6 +632,8 @@ void p3HistoryMgr::setSaveCount(uint32_t chat_type, uint32_t count)
|
|||||||
case RS_HISTORY_TYPE_PRIVATE: oldValue = mPrivateSaveCount ;
|
case RS_HISTORY_TYPE_PRIVATE: oldValue = mPrivateSaveCount ;
|
||||||
mPrivateSaveCount = count ;
|
mPrivateSaveCount = count ;
|
||||||
break ;
|
break ;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oldValue != count)
|
if (oldValue != count)
|
||||||
|
Loading…
Reference in New Issue
Block a user