diff options
author | June McEnroe <june@causal.agency> | 2018-11-21 23:41:15 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-11-21 23:41:15 -0500 |
commit | 49f804e989885f1ad5fc2d2127b285ea34edb3b8 (patch) | |
tree | 28eda7556502c1382d0bf134e5f3c8bcb7a52b62 /bin/edi/table.c | |
parent | Fix freeing empty buffer block (diff) | |
download | src-49f804e989885f1ad5fc2d2127b285ea34edb3b8.tar.gz src-49f804e989885f1ad5fc2d2127b285ea34edb3b8.zip |
Add Iter for edi
Diffstat (limited to '')
-rw-r--r-- | bin/edi/table.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/edi/table.c b/bin/edi/table.c index abe61403..2410ceec 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) { |