From f8da655d5b8154940540a1de62122b7639cf235e Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 21 Nov 2018 23:41:15 -0500 Subject: Add Iter for edi --- bin/edi/table.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bin/edi/table.c') diff --git a/bin/edi/table.c b/bin/edi/table.c index 593766a4..7905d7d7 100644 --- a/bin/edi/table.c +++ b/bin/edi/table.c @@ -24,12 +24,7 @@ struct Table tableAlloc(size_t cap) { struct Slice *slices = malloc(sizeof(*slices) * cap); if (!slices) err(EX_OSERR, "malloc"); - return (struct Table) { - .cap = cap, - .len = 0, - .ins = 0, - .slices = slices, - }; + return (struct Table) { .cap = cap, .slices = slices }; } void tableFree(struct Table *table) { -- cgit 1.4.1