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 | f8da655d5b8154940540a1de62122b7639cf235e (patch) | |
tree | 969ab688a51ab6ca2a68a64636e8b21f38147a8d /bin/edi/buffer.c | |
parent | Fix freeing empty buffer block (diff) | |
download | src-f8da655d5b8154940540a1de62122b7639cf235e.tar.gz src-f8da655d5b8154940540a1de62122b7639cf235e.zip |
Add Iter for edi
Diffstat (limited to '')
-rw-r--r-- | bin/edi/buffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/edi/buffer.c b/bin/edi/buffer.c index 7297f411..5950317e 100644 --- a/bin/edi/buffer.c +++ b/bin/edi/buffer.c @@ -34,7 +34,6 @@ struct Buffer bufferAlloc(size_t cap) { struct Block *block = blockAlloc(NULL, cap); return (struct Buffer) { .cap = cap, - .len = 0, .slice = { block->chars, 0 }, .block = block, }; |