Fixed uninitialized variable.

Make sure return code is initialized in twc_group_chat_invite_join.
This commit is contained in:
Håvard Pettersson 2014-11-19 05:51:52 +01:00
parent 976a5a9e22
commit 54c6908c4e

View File

@ -81,6 +81,9 @@ twc_group_chat_invite_join(struct t_twc_group_chat_invite *invite)
invite->data, invite->data_size, invite->data, invite->data_size,
NULL, NULL); NULL, NULL);
break; break;
default:
rc = -1;
break;
} }
twc_group_chat_invite_remove(invite); twc_group_chat_invite_remove(invite);