1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-27 13:06:45 +02:00

Use (void) for empty parameter list in C.

This commit is contained in:
iphydf
2018-09-08 17:23:07 +00:00
parent 2be4847b53
commit bebff3be0e
10 changed files with 31 additions and 28 deletions

View File

@ -219,11 +219,13 @@ static void chat_onMessage(ToxWindow *self, Tox *m, uint32_t num, TOX_MESSAGE_TY
get_time_str(timefrmt, sizeof(timefrmt));
if (type == TOX_MESSAGE_TYPE_NORMAL) {
return recv_message_helper(self, m, num, msg, len, nick, timefrmt);
recv_message_helper(self, m, num, msg, len, nick, timefrmt);
return;
}
if (type == TOX_MESSAGE_TYPE_ACTION) {
return recv_action_helper(self, m, num, msg, len, nick, timefrmt);
recv_action_helper(self, m, num, msg, len, nick, timefrmt);
return;
}
}