diff --git a/src/twc-message-queue.c b/src/twc-message-queue.c index 68e8b0c..cc5326f 100644 --- a/src/twc-message-queue.c +++ b/src/twc-message-queue.c @@ -96,7 +96,7 @@ twc_message_queue_flush_friend(struct t_twc_profile *profile, struct t_twc_queued_message *queued_message = item->queued_message; // TODO: store and deal with message IDs - uint32_t rc; + uint32_t rc = 0; switch(queued_message->message_type) { case TWC_MESSAGE_TYPE_MESSAGE: