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:
thunder2 2015-06-18 10:39:49 +00:00
parent 73778c92d8
commit 71cae5921c

View File

@ -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)