From b8205893d218c1be99a50e0aad0e6c063dfc78f1 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 2 Mar 2020 21:26:21 +0100 Subject: [PATCH] more unused code removed --- src/orderfile.test.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/orderfile.test.c b/src/orderfile.test.c index 8088f3f65..39653391b 100644 --- a/src/orderfile.test.c +++ b/src/orderfile.test.c @@ -48,17 +48,6 @@ static void test_unit_orders(CuTest *tc) { test_teardown(); } -typedef struct order_list { - const char **orders; - int next; -} order_list; - -static const char *getbuf_list(void *data) -{ - order_list * olist = (order_list *)data; - return olist->orders[olist->next++]; -} - static void test_faction_password_okay(CuTest *tc) { faction *f; FILE *F;