diff --git a/stack.c b/stack.c index 834f1c4173f65342b10a3692b79e3507f6a0b954..1813ff5cc17b36696b9dfd7428b8bf61d280b32e 100644 --- a/stack.c +++ b/stack.c @@ -7,7 +7,6 @@ void stack_init(stack *s) { - assert(s->data!=NULL && "Error : stack already in memory"); s->top = -1; s->capacity = DEFAULT_CAPACITY; s->data = malloc(sizeof(int) * DEFAULT_CAPACITY);