1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor: Remove useless check

uint32_t always greater of equal 0
This commit is contained in:
Diadlo 2017-06-11 21:48:34 +03:00
parent 9a0632b0cf
commit 7895bcdaa0
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -989,7 +989,7 @@ QByteArray Core::getToxSaveData()
void Core::loadFriends()
{
const uint32_t friendCount = tox_self_get_friend_list_size(tox);
if (friendCount <= 0) {
if (friendCount == 0) {
return;
}