commented out unused buffer

This commit is contained in:
Václav Šmejkal 2023-01-31 15:43:33 +01:00
parent c5558c554e
commit a199f30c7c
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -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)
{