Fixed warning.

This commit is contained in:
Håvard Pettersson 2014-10-05 05:27:42 +02:00
parent 5f3d2f04f7
commit 391c5829d8

View File

@ -96,7 +96,7 @@ twc_message_queue_flush_friend(struct t_twc_profile *profile,
struct t_twc_queued_message *queued_message = item->queued_message; struct t_twc_queued_message *queued_message = item->queued_message;
// TODO: store and deal with message IDs // TODO: store and deal with message IDs
uint32_t rc; uint32_t rc = 0;
switch(queued_message->message_type) switch(queued_message->message_type)
{ {
case TWC_MESSAGE_TYPE_MESSAGE: case TWC_MESSAGE_TYPE_MESSAGE: