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:
parent
9a0632b0cf
commit
7895bcdaa0
|
@ -989,7 +989,7 @@ QByteArray Core::getToxSaveData()
|
||||||
void Core::loadFriends()
|
void Core::loadFriends()
|
||||||
{
|
{
|
||||||
const uint32_t friendCount = tox_self_get_friend_list_size(tox);
|
const uint32_t friendCount = tox_self_get_friend_list_size(tox);
|
||||||
if (friendCount <= 0) {
|
if (friendCount == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user