mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-05 03:26:46 +02:00
reduce syntactic complexity - these don't need to be void
This commit is contained in:
@ -165,7 +165,7 @@ static void select_friend(ToxWindow *self, Tox *m, wint_t key)
|
||||
static void delete_friend(Tox *m, ToxWindow *self, int f_num, wint_t key)
|
||||
{
|
||||
tox_del_friend(m, f_num);
|
||||
memset(&friends[f_num], 0, sizeof(friend_t));
|
||||
memset(&friends[f_num], 0, sizeof(ToxicFriend));
|
||||
|
||||
int i;
|
||||
|
||||
|
Reference in New Issue
Block a user