diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 400782aa..3cc2f851 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c @@ -2004,8 +2004,6 @@ static int handle_packet(void *object, int i, uint8_t *temp, uint16_t len) case PACKET_ID_MESSAGE: case PACKET_ID_ACTION: { - const uint8_t *message_id = data; - if (data_length == 0) break;