From 55cb2411c1ddfe268c5d48f486f4da02470ab3d1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 May 2021 15:20:23 -0400 Subject: Use a simple type-safe stack in writer --- src/stack.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/stack.h') diff --git a/src/stack.h b/src/stack.h index 6ad3385d..cdf2b0f6 100644 --- a/src/stack.h +++ b/src/stack.h @@ -33,12 +33,6 @@ serd_stack_new(size_t size) return stack; } -static inline bool -serd_stack_is_empty(const SerdStack* stack) -{ - return stack->size <= SERD_STACK_BOTTOM; -} - static inline void serd_stack_free(SerdStack* stack) { -- cgit v1.2.1