From a199f30c7c779a84a7f8b805d8adec80a210c9c6 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 31 Jan 2023 15:43:33 +0100 Subject: [PATCH] commented out unused buffer --- src/core/lib/utils/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lib/utils/memory.c b/src/core/lib/utils/memory.c index 29cda3b..b34bbfa 100644 --- a/src/core/lib/utils/memory.c +++ b/src/core/lib/utils/memory.c @@ -23,7 +23,7 @@ void push_to_list(void *pointer) { node_t *new_node = malloc(sizeof(node_t)); //CREATE ANOTHER ELEMENT node_t *node_buffer_1; - node_t *node_buffer_2; + //node_t *node_buffer_2; //int buffer = 0; new_node -> pointer = pointer; //ALLOCATED POINTER @@ -41,7 +41,7 @@ void push_to_list(void *pointer) } else { node_buffer_1 = head; - node_buffer_2 = head; + //node_buffer_2 = head; while (node_buffer_1 -> next != NULL) //GET 'LAST' NODE (next POINTER) {