From fefc55041c2f4d09ebf9511e0f161c7c74cf3ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Mon, 22 Jun 2020 16:08:50 +0200 Subject: [PATCH] tidy --- src/apps/relay/ns_ioalib_engine_impl.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/apps/relay/ns_ioalib_engine_impl.c b/src/apps/relay/ns_ioalib_engine_impl.c index 6c8e7975..22cc640a 100644 --- a/src/apps/relay/ns_ioalib_engine_impl.c +++ b/src/apps/relay/ns_ioalib_engine_impl.c @@ -293,11 +293,6 @@ static stun_buffer_list_elem *new_blist_elem(ioa_engine_handle e) if(!ret) { ret = (stun_buffer_list_elem *)malloc(sizeof(stun_buffer_list_elem)); - /* init bzero below will solve all of these in one step - ret->buf.len = 0; - ret->buf.offset = 0; - ret->buf.coffset = 0; - */ ret->next = NULL; if (!ret) { TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "%s: Cannot allocate memory for STUN buffer!\n", __FUNCTION__);