Removed use of print function
This commit is contained in:
1
stack.c
1
stack.c
@@ -28,7 +28,6 @@ void stack_push(Stack* stack,void* element) {
|
|||||||
stack->capacity *= 2;
|
stack->capacity *= 2;
|
||||||
}
|
}
|
||||||
*(stack->data + stack->top_index) = element;
|
*(stack->data + stack->top_index) = element;
|
||||||
printf("Adding to index %d\n",stack->top_index);
|
|
||||||
stack->top_index++;
|
stack->top_index++;
|
||||||
stack->curr_size++;
|
stack->curr_size++;
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user