1
0
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:
Jfreegman
2013-11-29 17:48:08 -05:00
parent e4e7ed7e4e
commit 7ad520f128
7 changed files with 47 additions and 43 deletions

View File

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