Fixed uninitialized variable.
Make sure return code is initialized in twc_group_chat_invite_join.
This commit is contained in:
parent
976a5a9e22
commit
54c6908c4e
@ -81,6 +81,9 @@ twc_group_chat_invite_join(struct t_twc_group_chat_invite *invite)
|
||||
invite->data, invite->data_size,
|
||||
NULL, NULL);
|
||||
break;
|
||||
default:
|
||||
rc = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
twc_group_chat_invite_remove(invite);
|
||||
|
Loading…
Reference in New Issue
Block a user