From d76dc10a9595e6c4457c8bb1c6d0654f37031415 Mon Sep 17 00:00:00 2001 From: Alec <alec.schmidt@hesge.ch> Date: Wed, 24 Nov 2021 10:50:31 +0100 Subject: [PATCH] removed assert --- stack.c | 1 - 1 file changed, 1 deletion(-) diff --git a/stack.c b/stack.c index 834f1c4..1813ff5 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); -- GitLab