mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 05:56:21 +00:00
Fixed cppcheck warnings
This commit is contained in:
@@ -181,18 +181,6 @@ chat_session_is_inactive(const char * const recipient)
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
chat_session_is_active(const char * const recipient)
|
||||
{
|
||||
ChatSession session = g_hash_table_lookup(sessions, recipient);
|
||||
|
||||
if (session == NULL) {
|
||||
return FALSE;
|
||||
} else {
|
||||
return (session->state == CHAT_STATE_ACTIVE);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
chat_session_set_active(const char * const recipient)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user