diff --git a/stack.c b/stack.c index df4e9610c7926a25f16c0a10932e1c92024dffbb..245051e7428378edf81ced435708fcc43a8178a5 100644 --- a/stack.c +++ b/stack.c @@ -18,6 +18,8 @@ void stack_peek(stack s, int *value){ } void stack_print(const stack s) { + //TODO: replace if statement with following as soon as relevant function is implemented + //if (!stack_is_empty()) { if (s.top >= 0) { printf(" TOP\n--------------------\n"); for (int* spot = s.data + s.top; spot >= s.data; --spot) {