From f60bc9cd12b5abccad5b44987499e2ed8d1f04d9 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Tue, 30 Jun 2015 23:43:03 -0400 Subject: [PATCH] abort() instead of assert(0) --- critbit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/critbit.c b/critbit.c index 1412643..4e7d100 100644 --- a/critbit.c +++ b/critbit.c @@ -124,7 +124,7 @@ static int set_walk(tt_arena_t *a, } } default: - assert(0); + abort(); } } @@ -191,7 +191,7 @@ tt_node_ptr_t tt_dict_remove1(tt_arena_t *a, } } default: - assert(0); + abort(); } }