mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue